summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-10-21 14:57:09 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-10-21 14:57:09 +0200
commitb0583284c6a4ccbdbb23ff09106f803a9c485bb3 (patch)
tree7c73cf48691bae9d60fa18243be7b8a00816b227
parent7932646350c4cebb5f3379a172aec7af2c7af634 (diff)
colibri_vf50: setup memory if mem= is not passed to kernel
Setup at least a 128 MB big mapping analogous to the following: 5761904d59d84fadadc65de306cb1cba17f49e2a
-rw-r--r--arch/arm/mach-mvf/board-colibri_vf50.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvf/board-colibri_vf50.c b/arch/arm/mach-mvf/board-colibri_vf50.c
index b62b036ba6f7..cf1e23dd60f3 100644
--- a/arch/arm/mach-mvf/board-colibri_vf50.c
+++ b/arch/arm/mach-mvf/board-colibri_vf50.c
@@ -436,6 +436,8 @@ static struct mvf_dcu_platform_data mvf_dcu_pdata = {
static void __init fixup_mxc_board(struct machine_desc *desc, struct tag *tags,
char **cmdline, struct meminfo *mi)
{
+ if (!mi->nr_banks)
+ arm_add_memory(PHYS_OFFSET, SZ_128M);
}
/*