9
0
Fork 0

ARM: add missing call to arch_init_lowlevel

This got lost during the switch to implement the lowlevel
stuff in C.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2010-06-23 08:37:21 +02:00
parent ea5230ce75
commit 3aa5c839eb
2 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,9 @@ 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
__asm__ __volatile__ (
"bl __mmu_cache_flush;"
:

View File

@ -38,5 +38,6 @@ int dram_init (void);
void board_init_lowlevel(void);
void board_init_lowlevel_return(void);
void arch_init_lowlevel(void);
#endif /* _BAREBOX_ARM_H_ */