[PATCH 15/34] ARM netx boards: switch to barebox_arm_entry
Sascha Hauer
s.hauer at pengutronix.de
Sun Jan 27 05:46:44 EST 2013
Only one board supported, the nxdb500. Uses hardcoded SDRAM settings.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/Kconfig | 2 ++
arch/arm/boards/netx/platform.S | 7 +++++--
arch/arm/mach-netx/Kconfig | 1 -
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 79f797e..3197f8b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -72,6 +72,8 @@ config ARCH_MXS
config ARCH_NETX
bool "Hilscher NetX based"
select CPU_ARM926T
+ select MACH_HAS_LOWLEVEL_INIT
+ select MACH_DO_LOWLEVEL_INIT
config ARCH_NOMADIK
bool "STMicroelectronics Nomadik"
diff --git a/arch/arm/boards/netx/platform.S b/arch/arm/boards/netx/platform.S
index 0438921..95ac13b 100644
--- a/arch/arm/boards/netx/platform.S
+++ b/arch/arm/boards/netx/platform.S
@@ -16,10 +16,13 @@
* GNU General Public License for more details.
*
*/
-
+#include <sizes.h>
#include <asm/barebox-arm-head.h>
.globl reset
reset:
common_reset r0
- b board_init_lowlevel_return
+ mov r0, #0x80000000
+ mov r1, #SZ_64M
+ mov r2, #0
+ b barebox_arm_entry
diff --git a/arch/arm/mach-netx/Kconfig b/arch/arm/mach-netx/Kconfig
index b767e54..8d8f49b 100644
--- a/arch/arm/mach-netx/Kconfig
+++ b/arch/arm/mach-netx/Kconfig
@@ -45,7 +45,6 @@ choice
config MACH_NXDB500
bool "Hilscher Netx nxdb500"
select HAS_NETX_ETHER
- select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Hilscher Netx nxdb500 board
--
1.7.10.4
More information about the barebox
mailing list