diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-08-12 20:16:58 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2023-08-15 18:21:17 +0200 |
| commit | d768dd88552df18d4a0527cf3d6ddd05dc072f02 (patch) | |
| tree | e14fc2d32dde3e84146d80cd82751cf522b47f3e /common | |
| parent | b571b3acdaa43b90de3bc7540f13c02b1ee86b8e (diff) | |
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 <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/board_f.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c index 791c1e601c4..e9f4edb93db 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -330,7 +330,7 @@ __weak int mach_cpu_init(void) } /* Get the top of usable RAM */ -__weak phys_size_t board_get_usable_ram_top(phys_size_t total_size) +__weak phys_addr_t board_get_usable_ram_top(phys_size_t total_size) { #if defined(CFG_SYS_SDRAM_BASE) && CFG_SYS_SDRAM_BASE > 0 /* |
