ARM: imx6logic: Stop overwriting fdt_file if manually set
authorAdam Ford <aford173@gmail.com>
Wed, 13 Mar 2019 15:49:22 +0000 (10:49 -0500)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commita9bcf937c9809d3a5e664f851543269812d8864f
tree73a74aec55b4a9716dddcdebe1f39e595b44b46d
parent6d277fb0ed145f82dd50cc6e99d2fa553a588c3b
ARM: imx6logic: Stop overwriting fdt_file if manually set

The board file uses the processor type to determine what dtb file
is set.  Unfortunately, if the user wants to manually set this,
it get gets overwritten upon boot.  This patch adds a check to
see if the value is already set and only changes it if the value
is empty.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/logicpd/imx6/imx6logic.c