diff options
author | Jason Liu <jason.hui@linaro.org> | 2011-04-22 02:55:42 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-05-23 08:36:46 +0200 |
commit | 519589044073f75d5995473a435195582d74690d (patch) | |
tree | 7ab1e501e134606fcb600c0240df49072bd74e20 /board/freescale/mx53evk | |
parent | c02d828059924d1d0ba8ce87b22fc01b43e5d838 (diff) | |
download | u-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/mx53evk')
-rw-r--r-- | board/freescale/mx53evk/mx53evk.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c index e71701b..a89aa25 100644 --- a/board/freescale/mx53evk/mx53evk.c +++ b/board/freescale/mx53evk/mx53evk.c @@ -372,26 +372,7 @@ int board_late_init(void) int checkboard(void) { - u32 cause; - struct src *src_regs = (struct src *)SRC_BASE_ADDR; + puts("Board: MX53EVK\n"); - puts("Board: MX53EVK ["); - - cause = src_regs->srsr; - switch (cause) { - case 0x0001: - printf("POR"); - break; - case 0x0009: - printf("RST"); - break; - case 0x0010: - case 0x0011: - printf("WDOG"); - break; - default: - printf("unknown"); - } - printf("]\n"); return 0; } |