Patchwork [U-Boot,1/2] mx53smd: Fix build issue due to BOARD_LATE_INIT

login
register
mail settings
Submitter Fabio Estevam
Date May 19, 2011, 1:44 p.m.
Message ID <1305812698-3955-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/96376/
State Superseded
Headers show

Comments

Fabio Estevam - May 19, 2011, 1:44 p.m.
board_late_init function is not used, so remove BOARD_LATE_INIT from config file.

Fix the following error:

arch/arm/lib/libarm.o: In function `board_init_r':
/home/fabio/u-boot-imx/arch/arm/lib/board.c:590: undefined reference to `board_late_init'

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx53smd.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index 356ee10..e64ff98 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -42,7 +42,6 @@ 
 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 2 * 1024 * 1024)
 
 #define CONFIG_BOARD_EARLY_INIT_F
-#define BOARD_LATE_INIT
 #define CONFIG_MXC_GPIO
 
 #define CONFIG_MXC_UART