[PATCH 19/34] ARM AT91: switch at91rm9200 board to barebox_arm_entry
Sascha Hauer
s.hauer at pengutronix.de
Fri Feb 1 02:59:32 EST 2013
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-at91/Kconfig | 1 +
arch/arm/mach-at91/at91rm9200_lowlevel_init.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index ac6fd2f..f7f4cbc 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -90,6 +90,7 @@ config SOC_AT91RM9200
select HAVE_AT91_DBGU0
select HAS_AT91_ETHER
select MACH_HAS_LOWLEVEL_INIT
+ select MACH_DO_LOWLEVEL_INIT
config SOC_AT91SAM9260
bool
diff --git a/arch/arm/mach-at91/at91rm9200_lowlevel_init.c b/arch/arm/mach-at91/at91rm9200_lowlevel_init.c
index 4add3d9..51dc281 100644
--- a/arch/arm/mach-at91/at91rm9200_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91rm9200_lowlevel_init.c
@@ -129,5 +129,5 @@ void __naked __bare_init reset(void)
set_cr(r);
end:
- board_init_lowlevel_return();
+ barebox_arm_entry(AT91_SDRAM_BASE, at91rm9200_get_sdram_size(), 0);
}
--
1.7.10.4
More information about the barebox
mailing list