summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/friendlyarm-tiny210
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-10-14 22:22:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-04 15:52:39 +0100
commit94c06f9447b2c87503abb09ec666d33adb866c11 (patch)
tree4848577f8401f4e779b4a54eefbd68926e3f79a9 /arch/arm/boards/friendlyarm-tiny210
parent1c240cd2341776f2212237936c53c9448b21d834 (diff)
downloadbarebox-94c06f9447b2c87503abb09ec666d33adb866c11.tar.gz
barebox-94c06f9447b2c87503abb09ec666d33adb866c11.tar.xz
ARM Samsung boards: switch to barebox_arm_entry
All Samsung boards automatically detect their SDRAM size. The size detection code can't be called safely from lowlevel C code, so instead the minimum SDRAM size is guessed from the defconfig files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/friendlyarm-tiny210')
-rw-r--r--arch/arm/boards/friendlyarm-tiny210/lowlevel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
index 695f97d7e8..5d9582e2e1 100644
--- a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
+++ b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <init.h>
#include <io.h>
+#include <sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <asm/sections.h>
@@ -61,7 +62,8 @@ void __bare_init reset(void)
#endif
if (get_pc() < 0xD0000000) /* Are we running from iRAM? */
- board_init_lowlevel_return(); /* No, we don't. */
+ /* No, we don't. */
+ barebox_arm_entry(S3C_SDRAM_BASE, SZ_64M, 0);
s5p_init_dram_bank_ddr2(S5P_DMC0_BASE, 0x20E00323, 0, 0);