• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂9b6442f99c617f147b95d9844a492c429e16e23c (tree)
時間2011-02-21 16:30:54
作者Fabio Estevam <fabio.estevam@free...>
CommiterAlbert Aribaud

Log Message

mx31pdk: Make the full boot log visible

Use board_early_init_f so that the full boot log output can be displayed.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Change Summary

差異

--- a/board/freescale/mx31pdk/mx31pdk.c
+++ b/board/freescale/mx31pdk/mx31pdk.c
@@ -45,7 +45,7 @@ void dram_init_banksize(void)
4545 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
4646 }
4747
48-int board_init(void)
48+int board_early_init_f(void)
4949 {
5050 /* CS5: CPLD incl. network controller */
5151 __REG(CSCR_U(5)) = 0x0000d843;
@@ -56,6 +56,11 @@ int board_init(void)
5656 mx31_uart1_hw_init();
5757 mx31_spi2_hw_init();
5858
59+ return 0;
60+}
61+
62+int board_init(void)
63+{
5964 gd->bd->bi_arch_number = MACH_TYPE_MX31_3DS; /* board id for linux */
6065 /* adress of boot parameters */
6166 gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
--- a/include/configs/mx31pdk.h
+++ b/include/configs/mx31pdk.h
@@ -154,6 +154,7 @@
154154 #define CONFIG_NR_DRAM_BANKS 1
155155 #define PHYS_SDRAM_1 CSD0_BASE
156156 #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
157+#define CONFIG_BOARD_EARLY_INIT_F 1
157158
158159 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
159160 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR