9
0
Fork 0

ARM MXS boards: switch to barebox_arm_entry

All boards use hardcoded SDRAM addresses, copied from the board init file.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-10-14 22:20:03 +02:00
parent f2a8e35898
commit c984f8cfa0
13 changed files with 80 additions and 0 deletions

View File

@ -64,6 +64,8 @@ config ARCH_IMX
config ARCH_MXS
bool "Freescale i.MX23/28 (mxs) based"
select GENERIC_GPIO
select MACH_HAS_LOWLEVEL_INIT
select MACH_DO_LOWLEVEL_INIT
config ARCH_NETX
bool "Hilscher NetX based"

View File

@ -1 +1,3 @@
obj-y = falconwing.o
obj-y += lowlevel.o
pbl-y += lowlevel.o

View File

@ -0,0 +1,11 @@
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx23-regs.h>
void __naked reset(void)
{
common_reset();
barebox_arm_entry(IMX_MEMORY_BASE, SZ_64M, 0);
}

View File

@ -1 +1,3 @@
obj-y += cfa10036.o hwdetect.o
obj-y += lowlevel.o
pbl-y += lowlevel.o

View File

@ -0,0 +1,11 @@
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx28-regs.h>
void __naked reset(void)
{
common_reset();
barebox_arm_entry(IMX_MEMORY_BASE, SZ_128M, 0);
}

View File

@ -1,2 +1,4 @@
#
obj-y := mx23-evk.o
obj-y += lowlevel.o
pbl-y += lowlevel.o

View File

@ -0,0 +1,11 @@
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx23-regs.h>
void __naked reset(void)
{
common_reset();
barebox_arm_entry(IMX_MEMORY_BASE, SZ_32M, 0);
}

View File

@ -1 +1,3 @@
obj-y += mx28-evk.o
obj-y += lowlevel.o
pbl-y += lowlevel.o

View File

@ -0,0 +1,11 @@
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx28-regs.h>
void __naked reset(void)
{
common_reset();
barebox_arm_entry(IMX_MEMORY_BASE, SZ_128M, 0);
}

View File

@ -1 +1,3 @@
obj-y = imx23-olinuxino.o
obj-y += lowlevel.o
pbl-y += lowlevel.o

View File

@ -0,0 +1,11 @@
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx23-regs.h>
void __naked reset(void)
{
common_reset();
barebox_arm_entry(IMX_MEMORY_BASE, SZ_64M, 0);
}

View File

@ -1,2 +1,4 @@
obj-y += tx28.o
obj-$(CONFIG_MACH_TX28STK5) += tx28-stk5.o
obj-y += lowlevel.o
pbl-y += lowlevel.o

View File

@ -0,0 +1,11 @@
#include <common.h>
#include <sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx28-regs.h>
void __naked reset(void)
{
common_reset();
barebox_arm_entry(IMX_MEMORY_BASE, SZ_128M, 0);
}