summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-06 08:31:20 (GMT)
committerSimon Glass <sjg@chromium.org>2015-08-14 09:24:20 (GMT)
commit715f599f8a0f8a0e60ee483f55eb207ade34ad49 (patch)
tree9f19b5dbf46b406bc65ce11d63192879ede1cb25 /include/asm-generic
parentbbc1b99e8b8a1b87c2d0d959a1fcd1990abe82dd (diff)
downloadu-boot-715f599f8a0f8a0e60ee483f55eb207ade34ad49.tar.xz
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 <bmeng.cn@gmail.com>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/u-boot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-generic/u-boot.h b/include/asm-generic/u-boot.h
index c918049..9f3351d 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;