From 715f599f8a0f8a0e60ee483f55eb207ade34ad49 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 6 Aug 2015 01:31:20 -0700 Subject: common: Display >=4GiB memory bank size bd->bi_dram[] has both start address and size defined as 32-bit, which is not the case on some platforms where >=4GiB memory bank is used. Change them to support such memory banks. Signed-off-by: Bin Meng --- include/asm-generic/u-boot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asm-generic') diff --git a/include/asm-generic/u-boot.h b/include/asm-generic/u-boot.h index c918049386..9f3351d602 100644 --- a/include/asm-generic/u-boot.h +++ b/include/asm-generic/u-boot.h @@ -130,8 +130,8 @@ typedef struct bd_info { ulong bi_boot_params; /* where this board expects params */ #ifdef CONFIG_NR_DRAM_BANKS struct { /* RAM configuration */ - ulong start; - ulong size; + phys_addr_t start; + phys_size_t size; } bi_dram[CONFIG_NR_DRAM_BANKS]; #endif /* CONFIG_NR_DRAM_BANKS */ } bd_t; -- cgit v1.2.1