[U-Boot] [PATCH 2/4] mx53loco: Add a comment about local print_cpuinfo method in board file

Otavio Salvador
2012-06-23T20:08:26Z

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
---
board/freescale/mx53loco/mx53loco.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
index 445d022..5df1b18 100644
--- a/board/freescale/mx53loco/mx53loco.c
+++ b/board/freescale/mx53loco/mx53loco.c
@@ -413,6 +413,11 @@ int board_early_init_f(void)
return 0;
}

+/*
+ * Usually this is called too early printing a wrong information about
+ * the clock. To fix it we need to provide this local method and call
+ * it later in board_init.
+ */
int print_cpuinfo(void)
{
u32 cpurev;
--
1.7.10