]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6: Fix get_board_rev() for the mx6 solo case
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 27 Mar 2013 07:36:55 +0000 (07:36 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Apr 2013 14:14:40 +0000 (11:14 -0300)
commit054643cccfa24f8fcc599a1861e3d5d755d534ea
treefd58cb70e8c1455f28835b47d4611140516cc1cb
parent99625cf87a4066d564a4cc4dbd286f512e92c6ae
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 <fabio.estevam@freescale.com>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Eric Nelson <eric.nelson@boundarydevices.com>
arch/arm/cpu/armv7/mx6/soc.c
board/boundary/nitrogen6x/nitrogen6x.c
board/freescale/mx6qsabrelite/mx6qsabrelite.c
board/freescale/mx6qsabresd/mx6qsabresd.c
board/wandboard/wandboard.c