summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/Makefile
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/mach-mvebu/Makefile
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/mach-mvebu/Makefile')
-rw-r--r--arch/arm/mach-mvebu/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 80b3947cc8..2cf0dfed47 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -1,5 +1,4 @@
-lwl-y += lowlevel.o
-obj-y += common.o
+obj-pbl-y += common.o
obj-$(CONFIG_ARCH_ARMADA_370) += armada-370-xp.o
obj-$(CONFIG_ARCH_ARMADA_XP) += armada-370-xp.o
obj-$(CONFIG_ARCH_DOVE) += dove.o