]> git.baikalelectronics.ru Git - uboot.git/commit
mx6cuboxi: consolidate board detection and add som revision checking
authorJon Nettleton <jon@solid-run.com>
Thu, 7 Jun 2018 13:17:36 +0000 (16:17 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 14:50:40 +0000 (16:50 +0200)
commitedd44eced03819f0a386df2478662245f4653376
treeee2af05cad375001c509c950c876e93a402371f2
parent4952f64933926caf927505d46f588d748e06aa64
mx6cuboxi: consolidate board detection and add som revision checking

In order to properly detect the board the checks need to be done
in a specific order.  Move these tests back into a single enum
function that will always return the proper the board it is checking.

This also adds the best test we have for detecting the rev 1.5 som,
and it simplifies the device-tree filename building.

Signed-off-by: Jon Nettleton <jon@solid-run.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
board/solidrun/mx6cuboxi/mx6cuboxi.c
include/configs/mx6cuboxi.h