summaryrefslogtreecommitdiff
path: root/board/ti/j721s2
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-08-12 21:16:58 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-08-15 19:21:17 +0300
commitd768dd88552df18d4a0527cf3d6ddd05dc072f02 (patch)
treee14fc2d32dde3e84146d80cd82751cf522b47f3e /board/ti/j721s2
parentb571b3acdaa43b90de3bc7540f13c02b1ee86b8e (diff)
downloadu-boot-d768dd88552df18d4a0527cf3d6ddd05dc072f02.tar.xz
common: return type board_get_usable_ram_top
board_get_usable_ram_top() returns a physical address that is stored in gd->ram_top. The return type of the function should be phys_addr_t like the current type of gd->ram_top. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'board/ti/j721s2')
-rw-r--r--board/ti/j721s2/evm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c
index 8eaca9d5af..7795300abc 100644
--- a/board/ti/j721s2/evm.c
+++ b/board/ti/j721s2/evm.c
@@ -43,7 +43,7 @@ int dram_init(void)
return 0;
}
-phys_size_t board_get_usable_ram_top(phys_size_t total_size)
+phys_addr_t board_get_usable_ram_top(phys_size_t total_size)
{
#ifdef CONFIG_PHYS_64BIT
/* Limit RAM used by U-Boot to the DDR low region */