summaryrefslogtreecommitdiff
path: root/board/freescale/mx35pdk/mx35pdk.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-02-10 06:29:15 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-27 21:19:24 +0100
commitba901df41b0d77088408c1f6aac65eaadd4d12a0 (patch)
treec5f72851220bbe516d4133e715de46dce3e67377 /board/freescale/mx35pdk/mx35pdk.c
parentec0919f54bfe30d992034f78b09b41f9bfb77426 (diff)
downloadu-boot-imx-ba901df41b0d77088408c1f6aac65eaadd4d12a0.zip
u-boot-imx-ba901df41b0d77088408c1f6aac65eaadd4d12a0.tar.gz
u-boot-imx-ba901df41b0d77088408c1f6aac65eaadd4d12a0.tar.bz2
mx35pdk: Remove duplicate CPU revision and reset cause information
MX35PDK board does not need to print CPU revision and reset cause in board file because this is printed by common code when CONFIG_DISPLAY_CPUINFO is selected Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale/mx35pdk/mx35pdk.c')
-rw-r--r--board/freescale/mx35pdk/mx35pdk.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c
index a5b51a0..cce7123 100644
--- a/board/freescale/mx35pdk/mx35pdk.c
+++ b/board/freescale/mx35pdk/mx35pdk.c
@@ -263,10 +263,6 @@ int board_late_init(void)
int checkboard(void)
{
- struct ccm_regs *ccm =
- (struct ccm_regs *)IMX_CCM_BASE;
- u32 cpu_rev = get_cpu_rev();
-
/*
* Be sure that I2C is initialized to check
* the board revision
@@ -274,28 +270,7 @@ int checkboard(void)
i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
/* Print board revision */
- printf("Board: MX35 PDK %d.0 ", ((get_board_rev() >> 8) + 1) & 0x0F);
-
- /* Print CPU revision */
- printf("i.MX35 %d.%d [", (cpu_rev & 0xF0) >> 4, cpu_rev & 0x0F);
-
- switch (readl(&ccm->rcsr) & 0x0F) {
- case 0x0000:
- puts("POR");
- break;
- case 0x0002:
- puts("JTAG");
- break;
- case 0x0004:
- puts("RST");
- break;
- case 0x0008:
- puts("WDT");
- break;
- default:
- puts("unknown");
- }
- puts("]\n");
+ printf("Board: MX35 PDK %d.0\n", ((get_board_rev() >> 8) + 1) & 0x0F);
return 0;
}