9
0
Fork 0

ARM raspberrypi: switch to barebox_arm_entry

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-11-27 20:35:40 +01:00
parent 560c141935
commit af7e02951e
3 changed files with 15 additions and 0 deletions

View File

@ -39,6 +39,8 @@ config ARCH_BCM2835
select COMMON_CLK
select CLOCKSOURCE_BCM2835
select ARM_AMBA
select MACH_HAS_LOWLEVEL_INIT
select MACH_DO_LOWLEVEL_INIT
config ARCH_CLPS711X
bool "Cirrus Logic EP711x/EP721x/EP731x"

View File

@ -1 +1,3 @@
obj-$(CONFIG_MACH_RPI) += rpi.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.h>
#include <asm/barebox-arm-head.h>
#include <mach/platform.h>
void __naked reset(void)
{
common_reset();
barebox_arm_entry(BCM2835_SDRAM_BASE, SZ_128M, 0);
}