ARM: remove ARCH_HAS_LOWLEVEL_INIT
This is unused now and not needed. We have a board_init_lowlevel. If a board needs some architecture setup it can always call it from its board_init_lowlevel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
be123bd696
commit
fd5cd6084a
|
@ -40,10 +40,6 @@ void __naked __bare_init reset(void)
|
|||
r |= 0xd3;
|
||||
__asm__ __volatile__("msr cpsr, %0" : : "r"(r));
|
||||
|
||||
#ifdef CONFIG_ARCH_HAS_LOWLEVEL_INIT
|
||||
arch_init_lowlevel();
|
||||
#endif
|
||||
|
||||
/* disable MMU stuff and caches */
|
||||
r = get_cr();
|
||||
r &= ~(CR_M | CR_C | CR_B | CR_S | CR_R | CR_V);
|
||||
|
|
|
@ -41,6 +41,5 @@ extern char __ll_return[];
|
|||
|
||||
void board_init_lowlevel(void);
|
||||
void board_init_lowlevel_return(void);
|
||||
void arch_init_lowlevel(void);
|
||||
|
||||
#endif /* _BAREBOX_ARM_H_ */
|
||||
|
|
|
@ -292,9 +292,6 @@ config MACH_DO_LOWLEVEL_INIT
|
|||
on many platforms. Disabling this option allows configurations to use
|
||||
barebox as a second stage boot loader.
|
||||
|
||||
config ARCH_HAS_LOWLEVEL_INIT
|
||||
bool
|
||||
|
||||
config PROMPT
|
||||
string
|
||||
prompt "barebox command prompt"
|
||||
|
|
Loading…
Reference in New Issue