Skip to content

Commit

Permalink
MIPS: lantiq: Replace ltq_boot_select() with dummy implementation.
Browse files Browse the repository at this point in the history
This will only be used until the last usage of ltq_boot_select() has been
removed.

Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Sep 4, 2017
1 parent 333b270 commit 4dcfadb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arch/mips/lantiq/falcon/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4dcfadb

Please sign in to comment.