]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_f: Fix printing gd->ram_size and gd->ram_top
authorPali Rohár <pali@kernel.org>
Fri, 9 Sep 2022 15:32:41 +0000 (17:32 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:13:18 +0000 (15:13 -0400)
commitd92aee57eca089e6732a5c3c79c3a319819e1bfd
treefde5cada87687153da8e9a6411795307b420d12f
parent049704f808d5e643668a33a76e55f925d4c1b36a
board_f: Fix printing gd->ram_size and gd->ram_top

Members gd->ram_size and gd->ram_top are of type phys_addr_t which does not
have to fit into ulong type. So cast them into unsigned long long.

Fixes: 37dc958947ed ("global_data.h: Change ram_top type to phys_addr_t")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_f.c