summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-08-01 11:49:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-08-01 15:22:42 +0200
commitbcf7cde48c99dd1bb3c2f787c6594a7d59931765 (patch)
tree3f1b83709aee2939c5311aeae5b227d2efa1dc4d /arch/arm/boards
parent61cbf21fd57d14390aa1faef4bc4f6bdefe419ad (diff)
downloadbarebox-bcf7cde48c99dd1bb3c2f787c6594a7d59931765.tar.gz
barebox-bcf7cde48c99dd1bb3c2f787c6594a7d59931765.tar.xz
ARM: phyCORE-am335x: read back SDRAM controller settings
- use am335x_barebox_entry() to remove the need for hardcoded SDRAM size - remove hardcoded memory settings from device tree since there are different memory sizes available for this board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards')
-rw-r--r--arch/arm/boards/phytec-phycore-am335x/lowlevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
index 855b6924f3..200cf57c89 100644
--- a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
+++ b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
@@ -81,7 +81,7 @@ static noinline void pcm051_board_init(void)
fdt = __dtb_am335x_phytec_phycore_start - get_runtime_offset();
- barebox_arm_entry(0x80000000, SZ_512M, fdt);
+ am335x_barebox_entry(fdt);
}
ENTRY_FUNCTION(start_am33xx_phytec_phycore_sram, bootinfo, r1, r2)
@@ -106,5 +106,5 @@ ENTRY_FUNCTION(start_am33xx_phytec_phycore_sdram, r0, r1, r2)
fdt = __dtb_am335x_phytec_phycore_start - get_runtime_offset();
- barebox_arm_entry(0x80000000, SZ_512M, fdt);
+ am335x_barebox_entry(fdt);
}