
22 Oct
2010
22 Oct
'10
1:25 p.m.
Fix the board version printing issue on MX51EVK. Need to read the board version via get_cpu_rev and not rely on system_rev due to the system_rev not initialized at boardchecking time.
Signed-off-by: Jason Liu r64343@freescale.com --- board/freescale/mx51evk/mx51evk.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index d6bb71c..c532603 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board/freescale/mx51evk/mx51evk.c @@ -438,6 +438,8 @@ int board_late_init(void)
int checkboard(void) { + u32 system_rev = get_cpu_rev(); + puts("Board: MX51EVK ");
switch (system_rev & 0xff) {
--
1.7.0.4