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>
This commit is contained in:
Ralf Baechle 2017-08-31 22:02:18 +02:00
parent 333b2707a0
commit 4dcfadb18e
1 changed files with 5 additions and 5 deletions

View File

@ -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)