diff options
author | Andy Voltz <andy.voltz@timesys.com> | 2013-07-24 12:00:06 -0400 |
---|---|---|
committer | roshni.shah <roshni.shah@timesys.com> | 2014-01-04 19:33:21 -0500 |
commit | 2e09d971a6d98ec8b5162abb9b481c0d53ec4869 (patch) | |
tree | 74289cb13cd042a4f9777e0f5978169c961e7d2f /arch/arm/mach-mvf/board-twr-vf700.c | |
parent | 9195c464ad84836d85aa73aef384fe4382f7770d (diff) |
twr-vf700: setup memory if mem= is not passed to kernel
Diffstat (limited to 'arch/arm/mach-mvf/board-twr-vf700.c')
-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*/ |