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 1TOamW-0003cl-F2 for barebox@lists.infradead.org; Wed, 17 Oct 2012 21:04:02 +0000 From: Sascha Hauer Date: Wed, 17 Oct 2012 23:03:24 +0200 Message-Id: <1350507817-7819-16-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1350507817-7819-1-git-send-email-s.hauer@pengutronix.de> References: <1350507817-7819-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/28] ARM versatile boards: switch to barebox_arm_entry To: barebox@lists.infradead.org Only one board, the qemu based Versatile/PB. Uses hardcoded SDRAM settings. Signed-off-by: Sascha Hauer --- arch/arm/boards/versatile/Makefile | 3 ++- arch/arm/boards/versatile/lowlevel.c | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boards/versatile/lowlevel.c diff --git a/arch/arm/boards/versatile/Makefile b/arch/arm/boards/versatile/Makefile index a17aed3..9dc6869 100644 --- a/arch/arm/boards/versatile/Makefile +++ b/arch/arm/boards/versatile/Makefile @@ -1,2 +1,3 @@ - obj-$(CONFIG_MACH_VERSATILEPB) += versatilepb.o +obj-y += lowlevel.o +pbl-y += lowlevel.o diff --git a/arch/arm/boards/versatile/lowlevel.c b/arch/arm/boards/versatile/lowlevel.c new file mode 100644 index 0000000..3956347 --- /dev/null +++ b/arch/arm/boards/versatile/lowlevel.c @@ -0,0 +1,10 @@ +#include +#include +#include +#include + +void __naked reset(void) +{ + common_reset(); + barebox_arm_entry(0x0, SZ_64M, 0); +} -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox