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:
parent
ea5230ce75
commit
3aa5c839eb
|
@ -56,6 +56,9 @@ void __naked __bare_init reset(void)
|
||||||
r |= 0xd3;
|
r |= 0xd3;
|
||||||
__asm__ __volatile__("msr cpsr, %0" : : "r"(r));
|
__asm__ __volatile__("msr cpsr, %0" : : "r"(r));
|
||||||
|
|
||||||
|
#ifdef CONFIG_ARCH_HAS_LOWLEVEL_INIT
|
||||||
|
arch_init_lowlevel();
|
||||||
|
#endif
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"bl __mmu_cache_flush;"
|
"bl __mmu_cache_flush;"
|
||||||
:
|
:
|
||||||
|
|
|
@ -38,5 +38,6 @@ int dram_init (void);
|
||||||
|
|
||||||
void board_init_lowlevel(void);
|
void board_init_lowlevel(void);
|
||||||
void board_init_lowlevel_return(void);
|
void board_init_lowlevel_return(void);
|
||||||
|
void arch_init_lowlevel(void);
|
||||||
|
|
||||||
#endif /* _BAREBOX_ARM_H_ */
|
#endif /* _BAREBOX_ARM_H_ */
|
||||||
|
|
Loading…
Reference in New Issue