summaryrefslogtreecommitdiff
path: root/board/freescale/mx53loco
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2015-03-02 10:12:13 +0100
committerStefano Babic <sbabic@denx.de>2015-03-05 10:29:27 +0100
commit32df39c741788e8637cffe6633d73594b26d70fb (patch)
treeab0fe4181871aacdebe88ea7c28622b6d41f18ef /board/freescale/mx53loco
parentb16c37e46c1993b7d789aa7a1840250369d6944c (diff)
downloadu-boot-imx-32df39c741788e8637cffe6633d73594b26d70fb.zip
u-boot-imx-32df39c741788e8637cffe6633d73594b26d70fb.tar.gz
u-boot-imx-32df39c741788e8637cffe6633d73594b26d70fb.tar.bz2
mx5: fix get_reset_cause
commit d9f43c8f5c1d7ed27c99a06be85a4bb64b2c73fb sets get_reset_cause() as static, but this conflicts with mx5 where its prototype is in sys_proto.h. Drop it from sys_proto.h and drop print_cpuinfo from mx53_loco, factorizing the call for this board. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'board/freescale/mx53loco')
-rw-r--r--board/freescale/mx53loco/mx53loco.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
index efcf4b3..9ece6ec 100644
--- a/board/freescale/mx53loco/mx53loco.c
+++ b/board/freescale/mx53loco/mx53loco.c
@@ -366,22 +366,6 @@ int board_early_init_f(void)
return 0;
}
-#if defined(CONFIG_DISPLAY_CPUINFO)
-int print_cpuinfo(void)
-{
- u32 cpurev;
-
- cpurev = get_cpu_rev();
- printf("CPU: Freescale i.MX%x family rev%d.%d at %d MHz\n",
- (cpurev & 0xFF000) >> 12,
- (cpurev & 0x000F0) >> 4,
- (cpurev & 0x0000F) >> 0,
- mxc_get_clock(MXC_ARM_CLK) / 1000000);
- printf("Reset cause: %s\n", get_reset_cause());
- return 0;
-}
-#endif
-
/*
* Do not overwrite the console
* Use always serial for U-Boot console