]> git.sur5r.net Git - u-boot/commit
wandboard: Add board revision detection support
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 21 May 2015 22:24:05 +0000 (19:24 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jun 2015 06:34:38 +0000 (08:34 +0200)
commit9a8804a85e37d774419ee6452a90cc6e57d925f3
tree7e8adcad1447b586a5906862ee8f16c08a0bf0d2
parentc0c5341e732b0c52190b2fd85bb6b94c5879dfd9
wandboard: Add board revision detection support

There are two revisions of wandboard: version B1 and C1.

Add the revision detection support, so that the correct dtb file can
be automatically loaded.

Based on the patch from Richard Hu <hakahu@gmail.com>.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Tested-By: Vagrant Cascadian <vagrant@aikidev.net>
board/wandboard/wandboard.c
include/configs/wandboard.h