From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TzPlb-00005u-5y for barebox@lists.infradead.org; Sun, 27 Jan 2013 10:47:16 +0000 From: Sascha Hauer Date: Sun, 27 Jan 2013 11:46:44 +0100 Message-Id: <1359283623-1782-16-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1359283623-1782-1-git-send-email-s.hauer@pengutronix.de> References: <1359283623-1782-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 15/34] ARM netx boards: switch to barebox_arm_entry To: barebox@lists.infradead.org Only one board supported, the nxdb500. Uses hardcoded SDRAM settings. Signed-off-by: Sascha Hauer --- 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 #include .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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox