aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/u-boot-x86.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-08-12 20:16:58 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-08-15 18:21:17 +0200
commitd768dd88552df18d4a0527cf3d6ddd05dc072f02 (patch)
treee14fc2d32dde3e84146d80cd82751cf522b47f3e /arch/x86/include/asm/u-boot-x86.h
parentb571b3acdaa43b90de3bc7540f13c02b1ee86b8e (diff)
downloadu-boot-d768dd88552df18d4a0527cf3d6ddd05dc072f02.zip
u-boot-d768dd88552df18d4a0527cf3d6ddd05dc072f02.tar.gz
u-boot-d768dd88552df18d4a0527cf3d6ddd05dc072f02.tar.bz2
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 'arch/x86/include/asm/u-boot-x86.h')
-rw-r--r--arch/x86/include/asm/u-boot-x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h
index 02a8b0f..3acc58a 100644
--- a/arch/x86/include/asm/u-boot-x86.h
+++ b/arch/x86/include/asm/u-boot-x86.h
@@ -77,7 +77,7 @@ int x86_cleanup_before_linux(void);
void x86_enable_caches(void);
void x86_disable_caches(void);
int x86_init_cache(void);
-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);
int default_print_cpuinfo(void);
/* Set up a UART which can be used with printch(), printhex8(), etc. */