diff options
author | Bin Meng <bin.meng@windriver.com> | 2021-01-31 20:35:59 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-02-03 03:38:41 -0700 |
commit | 37dc958947ed305fcbd732172e22ff758f43208a (patch) | |
tree | 75125135cb51a7872b7e739b9db94feadb182e40 /include/asm-generic | |
parent | 65f354cd8df614e1262fe05691543b1947e5091c (diff) | |
download | u-boot-37dc958947ed305fcbd732172e22ff758f43208a.tar.gz |
global_data.h: Change ram_top type to phys_addr_t
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>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/global_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index b6f707e97e5..998beb01760 100644 --- 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 * |