summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/freescale-mx28-evk/lowlevel.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-10-14 22:20:03 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-04 15:52:39 +0100
commitc984f8cfa0a381209b885207079443b0b0d615f9 (patch)
tree19e9066786c6e9a5b283a7fe2859bd2e66d73cf3 /arch/arm/boards/freescale-mx28-evk/lowlevel.c
parentf2a8e3589857da84a9cc91267e86d6f9b542a72d (diff)
downloadbarebox-c984f8cfa0a381209b885207079443b0b0d615f9.tar.gz
barebox-c984f8cfa0a381209b885207079443b0b0d615f9.tar.xz
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>
Diffstat (limited to 'arch/arm/boards/freescale-mx28-evk/lowlevel.c')
-rw-r--r--arch/arm/boards/freescale-mx28-evk/lowlevel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boards/freescale-mx28-evk/lowlevel.c b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
new file mode 100644
index 000000000..467194f74
--- /dev/null
+++ b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
@@ -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);
+}