| Submitter | Benoît Thébaudeau |
|---|---|
| Date | Feb. 14, 2013, 9:14 p.m. |
| Message ID | <1360876483-31688-8-git-send-email-benoit.thebaudeau@advansee.com> |
| Download | mbox | patch |
| Permalink | /patch/220509/ |
| State | Changes Requested |
| Delegated to: | Stefano Babic |
| Headers | show |
Comments
Patch
diff --git a/include/common.h b/include/common.h index 4ad17ea..691e279 100644 --- a/include/common.h +++ b/include/common.h @@ -515,7 +515,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) || \
Commit e05e5de7fae5bec79617e113916dac6631251156 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> --- Changes in v6: - New patch, extracted from "nand: mxc: Switch NAND SPL to generic SPL". Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)