]> git.baikalelectronics.ru Git - uboot.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)
commit7d41c9f7316a71752b369bec3db61c8ebe1671e9
treefde5cada87687153da8e9a6411795307b420d12f
parentab2e24f6d83468e6ef34a2251681eefbf349a04f
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: edaed1191ea5 ("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