This patch fixes a linker error when PBL_IMAGE=n and DO_LOW_LEVEL_INIT=n. In this configuration the symbol reset() was present multiple times, and prevented the barebox image to be linked. Signed-off-by: Christian Kapeller <christian.kapeller@xxxxxxxxxx> --- arch/arm/boards/karo-tx53/lowlevel.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/boards/karo-tx53/lowlevel.c b/arch/arm/boards/karo-tx53/lowlevel.c index 6b7314c..0ca164b 100644 --- a/arch/arm/boards/karo-tx53/lowlevel.c +++ b/arch/arm/boards/karo-tx53/lowlevel.c @@ -3,6 +3,8 @@ #include <asm/barebox-arm.h> #include <mach/imx5.h> +#ifdef CONFIG_MACH_DO_LOWLEVEL_INIT + void __naked reset(void) { common_reset(); @@ -17,3 +19,4 @@ void __naked reset(void) board_init_lowlevel_return(); } +#endif -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox