summaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-09-09 18:32:40 +0300
committerTom Rini <trini@konsulko.com>2022-09-23 22:12:42 +0300
commit049704f808d5e643668a33a76e55f925d4c1b36a (patch)
tree8c0b37e909cd7d94bb0f9e0b6d6588cc63652948 /include/init.h
parent777aaaa706bcfe08c284aed06886db7d482af3f8 (diff)
downloadu-boot-049704f808d5e643668a33a76e55f925d4c1b36a.tar.xz
board_f: Fix types for board_get_usable_ram_top()
Commit 37dc958947ed ("global_data.h: Change ram_top type to phys_addr_t") changed type of ram_top member from ulong to phys_addr_t but did not changed types in board_get_usable_ram_top() function which returns value for ram_top. So change ulong to phys_addr_t type also in board_get_usable_ram_top() signature and implementations. 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>
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/init.h b/include/init.h
index 02bb4ce13e..50a8302dc5 100644
--- a/include/init.h
+++ b/include/init.h
@@ -291,7 +291,7 @@ int show_board_info(void);
*
* @param total_size Size of U-Boot (unused?)
*/
-ulong board_get_usable_ram_top(ulong total_size);
+phys_size_t board_get_usable_ram_top(phys_size_t total_size);
int board_early_init_f(void);