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 merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TzPlT-00063m-QZ for barebox@lists.infradead.org; Sun, 27 Jan 2013 10:47:18 +0000 From: Sascha Hauer Date: Sun, 27 Jan 2013 11:46:41 +0100 Message-Id: <1359283623-1782-13-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 12/34] ARM tegra boards: switch to barebox_arm_entry To: barebox@lists.infradead.org Only one board, Toshiba AC100. This uses hardcoded SDRAM values. Signed-off-by: Sascha Hauer --- arch/arm/Kconfig | 2 ++ arch/arm/boards/toshiba-ac100/Makefile | 2 ++ arch/arm/boards/toshiba-ac100/lowlevel.c | 10 ++++++++++ 3 files changed, 14 insertions(+) create mode 100644 arch/arm/boards/toshiba-ac100/lowlevel.c diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7b0e59a..5f5b965 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -126,6 +126,8 @@ config ARCH_TEGRA bool "Nvidia Tegra-based boards" select CPU_ARM926T select HAS_DEBUG_LL + select MACH_HAS_LOWLEVEL_INIT + select MACH_DO_LOWLEVEL_INIT endchoice diff --git a/arch/arm/boards/toshiba-ac100/Makefile b/arch/arm/boards/toshiba-ac100/Makefile index 9e14763..5b74351 100644 --- a/arch/arm/boards/toshiba-ac100/Makefile +++ b/arch/arm/boards/toshiba-ac100/Makefile @@ -1,2 +1,4 @@ obj-y += board.o obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o +obj-y += lowlevel.o +pbl-y += lowlevel.o diff --git a/arch/arm/boards/toshiba-ac100/lowlevel.c b/arch/arm/boards/toshiba-ac100/lowlevel.c new file mode 100644 index 0000000..68706a5 --- /dev/null +++ b/arch/arm/boards/toshiba-ac100/lowlevel.c @@ -0,0 +1,10 @@ +#include +#include +#include +#include + +void __naked reset(void) +{ + common_reset(); + barebox_arm_entry(0x0, SZ_512M, 0); +} -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox