summaryrefslogtreecommitdiff
path: root/board/freescale/mx51evk/mx51evk.c
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-04-22 02:55:42 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-23 08:36:46 +0200
commit519589044073f75d5995473a435195582d74690d (patch)
tree7ab1e501e134606fcb600c0240df49072bd74e20 /board/freescale/mx51evk/mx51evk.c
parentc02d828059924d1d0ba8ce87b22fc01b43e5d838 (diff)
downloadu-boot-imx-519589044073f75d5995473a435195582d74690d.zip
u-boot-imx-519589044073f75d5995473a435195582d74690d.tar.gz
u-boot-imx-519589044073f75d5995473a435195582d74690d.tar.bz2
mx5: board: code clean up for checkboard code
The boot cause code has been factor out to soc common code,we need drop the part from the board support code This patch also remove the redundant cpu version print Signed-off-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'board/freescale/mx51evk/mx51evk.c')
-rw-r--r--board/freescale/mx51evk/mx51evk.c36
1 files changed, 1 insertions, 35 deletions
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index 02a765d..e2d3d74 100644
--- a/board/freescale/mx51evk/mx51evk.c
+++ b/board/freescale/mx51evk/mx51evk.c
@@ -431,41 +431,7 @@ int board_late_init(void)
int checkboard(void)
{
- puts("Board: MX51EVK ");
-
- switch (system_rev & 0xff) {
- case CHIP_REV_3_0:
- puts("3.0 [");
- break;
- case CHIP_REV_2_5:
- puts("2.5 [");
- break;
- case CHIP_REV_2_0:
- puts("2.0 [");
- break;
- case CHIP_REV_1_1:
- puts("1.1 [");
- break;
- case CHIP_REV_1_0:
- default:
- puts("1.0 [");
- break;
- }
+ puts("Board: MX51EVK\n");
- switch (__raw_readl(SRC_BASE_ADDR + 0x8)) {
- case 0x0001:
- puts("POR");
- break;
- case 0x0009:
- puts("RST");
- break;
- case 0x0010:
- case 0x0011:
- puts("WDOG");
- break;
- default:
- puts("unknown");
- }
- puts("]\n");
return 0;
}