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:
parent
f2a8e35898
commit
c984f8cfa0
|
@ -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"
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
obj-y = falconwing.o
|
||||
obj-y += lowlevel.o
|
||||
pbl-y += lowlevel.o
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -1 +1,3 @@
|
|||
obj-y += cfa10036.o hwdetect.o
|
||||
obj-y += lowlevel.o
|
||||
pbl-y += lowlevel.o
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -1,2 +1,4 @@
|
|||
#
|
||||
obj-y := mx23-evk.o
|
||||
obj-y += lowlevel.o
|
||||
pbl-y += lowlevel.o
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -1 +1,3 @@
|
|||
obj-y += mx28-evk.o
|
||||
obj-y += lowlevel.o
|
||||
pbl-y += lowlevel.o
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -1 +1,3 @@
|
|||
obj-y = imx23-olinuxino.o
|
||||
obj-y += lowlevel.o
|
||||
pbl-y += lowlevel.o
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -1,2 +1,4 @@
|
|||
obj-y += tx28.o
|
||||
obj-$(CONFIG_MACH_TX28STK5) += tx28-stk5.o
|
||||
obj-y += lowlevel.o
|
||||
pbl-y += lowlevel.o
|
||||
|
|
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue