--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/mach-lantiq/lantiq.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/mips/include/asm/mach-lantiq/lantiq.h 2021-02-04 17:41:59.000000000 +0000 @@ -48,6 +48,8 @@ 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