[U-Boot-Users] [PATCH] Fix compile warning on lib_ppc/board.c

Anatolij Gustschin agust at denx.de
Fri Feb 15 00:13:20 CET 2008


Fix compile warning on lib_ppc/board.c:615

Signed-off-by: Anatolij Gustschin <agust at denx.de>
---
 include/common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/common.h b/include/common.h
index 13428b3..854c444 100644
--- a/include/common.h
+++ b/include/common.h
@@ -388,7 +388,7 @@ void	icache_disable(void);
 int	dcache_status (void);
 void	dcache_enable (void);
 void	dcache_disable(void);
-void	relocate_code (ulong, gd_t *, ulong);
+void	relocate_code (ulong, gd_t *, ulong) __attribute__ ((noreturn));
 ulong	get_endaddr   (void);
 void	trap_init     (ulong);
 #if defined (CONFIG_4xx)	|| \
-- 
1.5.3.3





More information about the U-Boot mailing list