summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Hui-R64343 <r64343@freescale.com>2010-12-23 01:13:17 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:41 +0100
commit877eb0f91543dc5bca385bb6d22454b1d43f3e2d (patch)
tree60c9c2e869fb5259b545bd565522a3ca31671a4d /include
parent6f918bd46482f889f4d94623b09daf659a1974bd (diff)
downloadu-boot-imx-877eb0f91543dc5bca385bb6d22454b1d43f3e2d.zip
u-boot-imx-877eb0f91543dc5bca385bb6d22454b1d43f3e2d.tar.gz
u-boot-imx-877eb0f91543dc5bca385bb6d22454b1d43f3e2d.tar.bz2
MX51EVK: UART does not print out the early information
The early bootup information is not print out due to the UART pin iomux not set up correctly before board_init Add the board_early_init_f function and enable the CONFIG_BOARD_EARLY_INIT_F. Move the UART pin setting from board_init to board_early_init_f function. This patch also move the FEC pin iomux setup to the board_early_init_f. Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx51evk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index b4e5738..aed9625 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -203,6 +203,8 @@
#define CONFIG_SYS_INIT_RAM_ADDR (IRAM_BASE_ADDR)
#define CONFIG_SYS_INIT_RAM_SIZE (IRAM_SIZE)
+#define CONFIG_BOARD_EARLY_INIT_F
+
#define CONFIG_SYS_INIT_SP_OFFSET \
(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
#define CONFIG_SYS_INIT_SP_ADDR \