From 38e70077253a6ac55cee276be72fb4e6844042cd Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Wed, 27 Mar 2013 07:36:55 +0000 Subject: mx6: Fix get_board_rev() for the mx6 solo case When booting a Freescale kernel 3.0.35 on a Wandboard solo, the get_board_rev() returns 0x62xxx, which is not a value understood by the VPU (Video Processing Unit) library in the kernel and causes the video playback to fail. The expected values for get_board_rev are: 0x63xxx: For mx6quad/dual 0x61xxx: For mx6dual-lite/solo So adjust get_board_rev() accordingly and make it as weak function, so that we do not need to define it in every mx6 board file. Signed-off-by: Fabio Estevam Acked-by: Dirk Behme Acked-by: Eric Nelson --- board/wandboard/wandboard.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'board/wandboard') diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index 8d071e1fe1..ac7b89aaec 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -170,11 +170,6 @@ int board_init(void) return 0; } -u32 get_board_rev(void) -{ - return get_cpu_rev(); -} - int checkboard(void) { puts("Board: Wandboard\n"); -- cgit v1.2.3