imx: mx6sabresd/sabreauto runtime setting fdt_file
authorPeng Fan <Peng.Fan@freescale.com>
Sat, 11 Jul 2015 03:38:46 +0000 (11:38 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2015 08:47:05 +0000 (10:47 +0200)
commite6fc8995d6654df23387ccac91543a2206cfcb36
tree83fa7c953bd27c07b642be6926fcf26a9211a598
parent8d7794615c7672b03b5140dfe2bac65daf7ce5eb
imx: mx6sabresd/sabreauto runtime setting fdt_file

Detect the SOC and board variant at runtime and change the dtb name,
but not hardcoding the fdt_file env variable.

Take the following patch as a reference.
Íd58699b157df75f1aa0b363ea9c21add21a0c
"mx6cuboxi: Load the correct 'fdtfile' variable"

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
board/freescale/mx6qsabreauto/mx6qsabreauto.c
board/freescale/mx6sabresd/mx6sabresd.c
include/configs/mx6qsabreauto.h
include/configs/mx6sabre_common.h
include/configs/mx6sabresd.h