summaryrefslogtreecommitdiff
path: root/board/freescale/mx31pdk/mx31pdk.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-02-09 01:17:56 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-21 08:30:54 +0100
commit9b6442f99c617f147b95d9844a492c429e16e23c (patch)
tree67d0b6f5c0adb808a6bec10d648285504cc9a2b9 /board/freescale/mx31pdk/mx31pdk.c
parented3df72db1e9472e8358f2fc57c3d6e9b37c4810 (diff)
downloadu-boot-imx-9b6442f99c617f147b95d9844a492c429e16e23c.zip
u-boot-imx-9b6442f99c617f147b95d9844a492c429e16e23c.tar.gz
u-boot-imx-9b6442f99c617f147b95d9844a492c429e16e23c.tar.bz2
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>
Diffstat (limited to 'board/freescale/mx31pdk/mx31pdk.c')
-rw-r--r--board/freescale/mx31pdk/mx31pdk.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c
index 2756e5a..a9f0fb4 100644
--- a/board/freescale/mx31pdk/mx31pdk.c
+++ b/board/freescale/mx31pdk/mx31pdk.c
@@ -45,7 +45,7 @@ void dram_init_banksize(void)
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 */
__REG(CSCR_U(5)) = 0x0000d843;
@@ -56,6 +56,11 @@ int board_init(void)
mx31_uart1_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 */
/* adress of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;