Commit 4dcfadb1 authored by Ralf Baechle's avatar Ralf Baechle

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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 333b2707
...@@ -15,13 +15,13 @@ ...@@ -15,13 +15,13 @@
#include <lantiq_soc.h> #include <lantiq_soc.h>
/* boot mode mask */ /*
#define BM_MASK 0x0005 * Dummy implementation. Used to allow platform code to find out what
* source was booted from
/* allow platform code to find out what surce we booted from */ */
unsigned char ltq_boot_select(void) unsigned char ltq_boot_select(void)
{ {
return ltq_sys1_r32(SYS1_BM) & BM_MASK; return BS_SPI;
} }
#define BOOT_REG_BASE (KSEG1 | 0x1F200000) #define BOOT_REG_BASE (KSEG1 | 0x1F200000)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment