mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
arm: relocate_code() is no longer noreturn
Commit e05e5de7fa
made ARM's relocate_code()
return to its caller, but it did not update its declaration accordingly.
Fixing this function declaration fixes dropped C code following calls to
relocate_code().
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
This commit is contained in:
parent
508611bcb7
commit
959eaa74b8
14 changed files with 18 additions and 40 deletions
|
@ -530,7 +530,11 @@ int dcache_status (void);
|
|||
void dcache_enable (void);
|
||||
void dcache_disable(void);
|
||||
void mmu_disable(void);
|
||||
void relocate_code (ulong, gd_t *, ulong) __attribute__ ((noreturn));
|
||||
void relocate_code(ulong, gd_t *, ulong)
|
||||
#if !defined(CONFIG_ARM)
|
||||
__attribute__ ((noreturn))
|
||||
#endif
|
||||
;
|
||||
ulong get_endaddr (void);
|
||||
void trap_init (ulong);
|
||||
#if defined (CONFIG_4xx) || \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue