修訂 | 9b6442f99c617f147b95d9844a492c429e16e23c (tree) |
---|---|
時間 | 2011-02-21 16:30:54 |
作者 | Fabio Estevam <fabio.estevam@free...> |
Commiter | Albert Aribaud |
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>
@@ -45,7 +45,7 @@ void dram_init_banksize(void) | ||
45 | 45 | gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; |
46 | 46 | } |
47 | 47 | |
48 | -int board_init(void) | |
48 | +int board_early_init_f(void) | |
49 | 49 | { |
50 | 50 | /* CS5: CPLD incl. network controller */ |
51 | 51 | __REG(CSCR_U(5)) = 0x0000d843; |
@@ -56,6 +56,11 @@ int board_init(void) | ||
56 | 56 | mx31_uart1_hw_init(); |
57 | 57 | mx31_spi2_hw_init(); |
58 | 58 | |
59 | + return 0; | |
60 | +} | |
61 | + | |
62 | +int board_init(void) | |
63 | +{ | |
59 | 64 | gd->bd->bi_arch_number = MACH_TYPE_MX31_3DS; /* board id for linux */ |
60 | 65 | /* adress of boot parameters */ |
61 | 66 | gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; |
@@ -154,6 +154,7 @@ | ||
154 | 154 | #define CONFIG_NR_DRAM_BANKS 1 |
155 | 155 | #define PHYS_SDRAM_1 CSD0_BASE |
156 | 156 | #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024) |
157 | +#define CONFIG_BOARD_EARLY_INIT_F 1 | |
157 | 158 | |
158 | 159 | #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 |
159 | 160 | #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR |