mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-20 20:04:46 +00:00
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>
This commit is contained in:
parent
65f354cd8d
commit
37dc958947
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ struct global_data {
|
||||||
/**
|
/**
|
||||||
* @ram_top: top address of RAM used by U-Boot
|
* @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
|
* @relocaddr: start address of U-Boot in RAM
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue