diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2022-01-01 19:13:28 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-18 08:31:02 -0500 |
commit | 1b212bb9f4bf55f58ed230a444e51204f1fa8b02 (patch) | |
tree | d3bdb1340154c1ca56769db037eb58704c54a028 /arch/powerpc/include | |
parent | 78fc0395c01640df0fa9b8be736bf855a0416b56 (diff) | |
download | u-boot-1b212bb9f4bf55f58ed230a444e51204f1fa8b02.zip u-boot-1b212bb9f4bf55f58ed230a444e51204f1fa8b02.tar.gz u-boot-1b212bb9f4bf55f58ed230a444e51204f1fa8b02.tar.bz2 |
common: board_r: drop initr_addr_map wrapper
Add a return value to init_addr_map and use it directly in the
post-relocation init sequence, rather than using a wrapper stub.
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/mmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index 353dc4e..cb5b26c 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h @@ -138,7 +138,7 @@ extern void _tlbie(unsigned long va); /* invalidate a TLB entry */ extern void _tlbia(void); /* invalidate all TLB entries */ #ifdef CONFIG_ADDR_MAP -extern void init_addr_map(void); +extern int init_addr_map(void); #endif typedef enum { |