]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mx6cuboxi: Differentiate Cubox-i and Hummingboard
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 25 Apr 2015 21:47:19 +0000 (18:47 -0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:43:50 +0000 (14:43 +0200)
commita9d315a4bb0f7456316af2c832716e07e198a307
treeb9bb538829e4cd8b43d05a8227175993e6e0c8b3
parentb843c59ebd496263afe6a810e355e1ee798f22a3
mx6cuboxi: Differentiate Cubox-i and Hummingboard

Introduce is_hummingboard() function that reads GPIOs that can distinguish
between Cubox-i and Hummingboard.

Print the board name accordingly.

Based on a patch from Rabeeh Khoury.

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/solidrun/mx6cuboxi/mx6cuboxi.c