aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-10-11 15:56:59 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-10-11 15:56:59 +0100
commitab168a03e1e1b86d768aa008beb0810d9622e2f5 (patch)
treed32f8ec39fe28f944b7cfad152240d723bb97c67
parent021e2791b3d48032eb5e2ad60b10011592d7fe76 (diff)
downloadxen-ab168a03e1e1b86d768aa008beb0810d9622e2f5.tar.gz
xen-ab168a03e1e1b86d768aa008beb0810d9622e2f5.tar.bz2
xen-ab168a03e1e1b86d768aa008beb0810d9622e2f5.zip
arm: print a message if multiple banks of memory are present.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Tim Deegan <tim@xen.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
-rw-r--r--xen/arch/arm/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index f8cd63a545..7568968135 100644
--- a/xen/arch/arm/setup.c
+++ b/xen/arch/arm/setup.c
@@ -114,6 +114,8 @@ static void __init setup_mm(unsigned long dtb_paddr, size_t dtb_size)
* TODO: only using the first RAM bank for now. The heaps and the
* frame table assume RAM is physically contiguous.
*/
+ if ( early_info.mem.nr_banks > 1 )
+ early_printk("WARNING: Only using first bank of memory\n");
ram_start = early_info.mem.bank[0].start;
ram_size = early_info.mem.bank[0].size;
ram_end = ram_start + ram_size;