Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: lantiq: Replace ltq_boot_select() with dummy implementation.

This will only be used until the last usage of ltq_boot_select() has been
removed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+5 -5
+5 -5
arch/mips/lantiq/falcon/reset.c
··· 15 15 16 16 #include <lantiq_soc.h> 17 17 18 - /* boot mode mask */ 19 - #define BM_MASK 0x0005 20 - 21 - /* allow platform code to find out what surce we booted from */ 18 + /* 19 + * Dummy implementation. Used to allow platform code to find out what 20 + * source was booted from 21 + */ 22 22 unsigned char ltq_boot_select(void) 23 23 { 24 - return ltq_sys1_r32(SYS1_BM) & BM_MASK; 24 + return BS_SPI; 25 25 } 26 26 27 27 #define BOOT_REG_BASE (KSEG1 | 0x1F200000)