diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-08-31 23:02:18 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-09-04 22:19:02 +0300 |
commit | 4dcfadb18e735fbdaf8c7eca06e7e0acf0847184 (patch) | |
tree | 6d5206385d51a3318c4cf18d44a20364799693a9 /arch | |
parent | 333b2707a0ec6769179ac8161394536f4663b77b (diff) | |
download | linux-4dcfadb18e735fbdaf8c7eca06e7e0acf0847184.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/lantiq/falcon/reset.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/lantiq/falcon/reset.c b/arch/mips/lantiq/falcon/reset.c index 3b22a541b685..058b85578cf7 100644 --- a/arch/mips/lantiq/falcon/reset.c +++ b/arch/mips/lantiq/falcon/reset.c @@ -15,13 +15,13 @@ #include <lantiq_soc.h> -/* boot mode mask */ -#define BM_MASK 0x0005 - -/* allow platform code to find out what surce we booted from */ +/* + * Dummy implementation. Used to allow platform code to find out what + * source was booted from + */ unsigned char ltq_boot_select(void) { - return ltq_sys1_r32(SYS1_BM) & BM_MASK; + return BS_SPI; } #define BOOT_REG_BASE (KSEG1 | 0x1F200000) |