diff options
author | John Crispin <blogic@openwrt.org> | 2014-09-10 20:29:21 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 06:45:18 (GMT) |
commit | e8b8ca8cb34486fc27984c402ee89a183ef1b1b7 (patch) | |
tree | 2a9b597ae7644ead86c95c8d248dfd20d8aed464 /arch/mips/include | |
parent | 276229d2a98975d0cca9637d1dfee6a9876b54c5 (diff) | |
download | linux-e8b8ca8cb34486fc27984c402ee89a183ef1b1b7.tar.xz |
MIPS: lantiq: export soc type
The voice and dsl drivers need to know which SoC we are running on.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/8046/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/mach-lantiq/lantiq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h index f196cce..4e5ae65 100644 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h @@ -48,6 +48,8 @@ extern struct clk *clk_get_ppe(void); extern unsigned char ltq_boot_select(void); /* find out what caused the last cpu reset */ extern int ltq_reset_cause(void); +/* find out the soc type */ +extern int ltq_soc_type(void); #define IOPORT_RESOURCE_START 0x10000000 #define IOPORT_RESOURCE_END 0xffffffff |