diff options
author | Andy Voltz <andy.voltz@timesys.com> | 2013-07-24 12:00:06 -0400 |
---|---|---|
committer | Andy Voltz <andy.voltz@timesys.com> | 2013-07-25 16:29:42 -0400 |
commit | 5761904d59d84fadadc65de306cb1cba17f49e2a (patch) | |
tree | 74289cb13cd042a4f9777e0f5978169c961e7d2f | |
parent | 9195c464ad84836d85aa73aef384fe4382f7770d (diff) |
twr-vf700: setup memory if mem= is not passed to kernel
-rw-r--r-- | arch/arm/mach-mvf/board-twr-vf700.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvf/board-twr-vf700.c b/arch/arm/mach-mvf/board-twr-vf700.c index fe409af32c7e..becf814e3a11 100644 --- a/arch/arm/mach-mvf/board-twr-vf700.c +++ b/arch/arm/mach-mvf/board-twr-vf700.c @@ -392,6 +392,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); } /* * Not defined the cd/wp so far, set it always present for debug*/ |