summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/netgear-rn104
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-02-14 11:53:58 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-02-16 08:16:27 +0100
commitf05c6e095cf8e8c97e1df5d79f65e4d7c30c788f (patch)
treee2bab6ef3587e0b78306465dd824a7382cca7a3b /arch/arm/boards/netgear-rn104
parentdc904720553c6ddd80975cfc488a183d6d391dc5 (diff)
downloadbarebox-f05c6e095cf8e8c97e1df5d79f65e4d7c30c788f.tar.gz
barebox-f05c6e095cf8e8c97e1df5d79f65e4d7c30c788f.tar.xz
mvebu: rework how memory is detected
Status quo is that initially a size of 64 MiB is assumed (which is also used to determine the size of the malloc area) and then later the dtb is fixed up with the actually available RAM which is then used. Instead detect the real RAM size earlier and don't fixup the device tree. The device tree is fixed up instead by generic code. This way the malloc area is more appropriately sized and RAM detection is more similar to mach-imx which is both nice. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/netgear-rn104')
-rw-r--r--arch/arm/boards/netgear-rn104/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/netgear-rn104/lowlevel.c b/arch/arm/boards/netgear-rn104/lowlevel.c
index f0d6df0da6..97590d8a6f 100644
--- a/arch/arm/boards/netgear-rn104/lowlevel.c
+++ b/arch/arm/boards/netgear-rn104/lowlevel.c
@@ -18,5 +18,5 @@ ENTRY_FUNCTION(start_netgear_rn104, r0, r1, r2)
fdt = __dtb_armada_370_rn104_bb_start -
get_runtime_offset();
- mvebu_barebox_entry(fdt);
+ armada_370_xp_barebox_entry(fdt);
}