Skip to content
Snippets Groups Projects
Commit 9b6442f9 authored by Fabio Estevam's avatar Fabio Estevam Committed by Albert Aribaud
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent ed3df72d
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ void dram_init_banksize(void) ...@@ -45,7 +45,7 @@ void dram_init_banksize(void)
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
} }
int board_init(void) int board_early_init_f(void)
{ {
/* CS5: CPLD incl. network controller */ /* CS5: CPLD incl. network controller */
__REG(CSCR_U(5)) = 0x0000d843; __REG(CSCR_U(5)) = 0x0000d843;
...@@ -56,6 +56,11 @@ int board_init(void) ...@@ -56,6 +56,11 @@ int board_init(void)
mx31_uart1_hw_init(); mx31_uart1_hw_init();
mx31_spi2_hw_init(); mx31_spi2_hw_init();
return 0;
}
int board_init(void)
{
gd->bd->bi_arch_number = MACH_TYPE_MX31_3DS; /* board id for linux */ gd->bd->bi_arch_number = MACH_TYPE_MX31_3DS; /* board id for linux */
/* adress of boot parameters */ /* adress of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
......
...@@ -154,6 +154,7 @@ ...@@ -154,6 +154,7 @@
#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_NR_DRAM_BANKS 1
#define PHYS_SDRAM_1 CSD0_BASE #define PHYS_SDRAM_1 CSD0_BASE
#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024) #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
#define CONFIG_BOARD_EARLY_INIT_F 1
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment