mx6cuboxi: Load the correct 'fdtfile' variable
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 25 Apr 2015 21:47:21 +0000 (18:47 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 27 Apr 2015 11:13:58 +0000 (13:13 +0200)
commit205d58699b157df75f1aa0b363ea9c21add21a0c
tree262676d1ef895f3080eba13fe80e77a8bedaa5d9
parent6a305f22c58b5cef595b2e004fc6b299934dd82a
mx6cuboxi: Load the correct 'fdtfile' variable

Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and
board variant on the fly and change the dtb name.

Based on the scheme done on am335x board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-By: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/solidrun/mx6cuboxi/mx6cuboxi.c
include/configs/mx6cuboxi.h