projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f354c
)
global_data.h: Change ram_top type to phys_addr_t
author
Bin Meng
<bin.meng@windriver.com>
Sun, 31 Jan 2021 12:35:59 +0000
(20:35 +0800)
committer
Simon Glass
<sjg@chromium.org>
Wed, 3 Feb 2021 10:38:41 +0000
(
03:38
-0700)
It's possible to have ram_top above 4 GiB in a 32-bit system, hence
we need to declare ram_top as `phys_addr_t`.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/asm-generic/global_data.h
patch
|
blob
|
history
diff --git
a/include/asm-generic/global_data.h
b/include/asm-generic/global_data.h
index b6f707e97e5db7ad73721afb937467d9809a8af8..998beb017601665c42efeb6dcce24037326a4db9 100644
(file)
--- a/
include/asm-generic/global_data.h
+++ b/
include/asm-generic/global_data.h
@@
-147,7
+147,7
@@
struct global_data {
/**
* @ram_top: top address of RAM used by U-Boot
*/
-
unsigned long
ram_top;
+
phys_addr_t
ram_top;
/**
* @relocaddr: start address of U-Boot in RAM
*