From ab168a03e1e1b86d768aa008beb0810d9622e2f5 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 11 Oct 2012 15:56:59 +0100 Subject: [PATCH] arm: print a message if multiple banks of memory are present. Signed-off-by: Ian Campbell Acked-by: Tim Deegan Committed-by: Ian Campbell --- xen/arch/arm/setup.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2