diff options
author | Lucas Stach <dev@lynxeye.de> | 2013-04-12 12:28:22 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-04-14 10:45:24 +0200 |
commit | 789c55b8bda0fa3b41a96f1ac8c62ff4ba2ba89e (patch) | |
tree | dc5df02e85478706663ea1e7af86d5088411f777 /arch/arm/boards/toshiba-ac100 | |
parent | e368a84a860b7e6ab07f829197d321c3583ed7ac (diff) | |
download | barebox-789c55b8bda0fa3b41a96f1ac8c62ff4ba2ba89e.tar.gz barebox-789c55b8bda0fa3b41a96f1ac8c62ff4ba2ba89e.tar.xz |
tegra: add common lowlevel startup
All Tegra20 boards have a common startup sequence. Also there is an
agreement on how to find out about the installed amount of RAM and other
information needed by early startup. So as there is really no need to do
any lowlevel stuff per board, we can just do it at the ARCH level.
This also enables the first stage loading of barebox by detecting the
currently running CPU and booting the main CPU cluster if neccesary.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Tested-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/toshiba-ac100')
-rw-r--r-- | arch/arm/boards/toshiba-ac100/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boards/toshiba-ac100/lowlevel.c | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/boards/toshiba-ac100/Makefile b/arch/arm/boards/toshiba-ac100/Makefile index 4d321e1622..9e14763111 100644 --- a/arch/arm/boards/toshiba-ac100/Makefile +++ b/arch/arm/boards/toshiba-ac100/Makefile @@ -1,3 +1,2 @@ obj-y += board.o obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o -lwl-y += lowlevel.o diff --git a/arch/arm/boards/toshiba-ac100/lowlevel.c b/arch/arm/boards/toshiba-ac100/lowlevel.c deleted file mode 100644 index 2f99d709a4..0000000000 --- a/arch/arm/boards/toshiba-ac100/lowlevel.c +++ /dev/null @@ -1,10 +0,0 @@ -#include <common.h> -#include <sizes.h> -#include <asm/barebox-arm-head.h> -#include <asm/barebox-arm.h> - -void __naked barebox_arm_reset_vector(void) -{ - arm_cpu_lowlevel_init(); - barebox_arm_entry(0x0, SZ_512M, 0); -} |