From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 17.mo4.mail-out.ovh.net ([46.105.41.16] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U21Eb-0000ZF-GO for barebox@lists.infradead.org; Sun, 03 Feb 2013 15:12:17 +0000 Received: from mail403.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 38359104EB0F for ; Sun, 3 Feb 2013 16:22:01 +0100 (CET) From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 3 Feb 2013 16:10:15 +0100 Message-Id: <1359904236-11622-15-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <1359904236-11622-1-git-send-email-plagnioj@jcrosoft.com> References: <20130203150333.GE18068@game.jcrosoft.org> <1359904236-11622-1-git-send-email-plagnioj@jcrosoft.com> 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/36] ARM netx boards: switch to barebox_arm_entry To: barebox@lists.infradead.org From: Sascha Hauer 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