global_data.h: Change ram_top type to phys_addr_t
authorBin Meng <bin.meng@windriver.com>
Sun, 31 Jan 2021 12:35:59 +0000 (20:35 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 10:38:41 +0000 (03:38 -0700)
commit37dc958947ed305fcbd732172e22ff758f43208a
tree75125135cb51a7872b7e739b9db94feadb182e40
parent65f354cd8df614e1262fe05691543b1947e5091c
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>
include/asm-generic/global_data.h