From: Josua Mayer <josua.mayer97@gmail.com>
Date: Wed, 21 Mar 2018 00:32:06 +0000 (+0100)
Subject: mvebu: clearfog-pro: set new DTB name in boot-script
X-Git-Tag: v18.06.0-rc1~519
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=093e6c69fbc067c2e6e328950515d9ad82c92858;p=openwrt%2Fstaging%2Fxback.git

mvebu: clearfog-pro: set new DTB name in boot-script

The DTB for Clearfog Pro has been renamed in mainline. However U-Boot
hasn't picked up that change yet :(, so we need to hardcode it for now.

Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
---

diff --git a/target/linux/mvebu/image/armada-388-clearfog-pro.bootscript b/target/linux/mvebu/image/armada-388-clearfog-pro.bootscript
index 4cc206dbf3..99aa145858 100644
--- a/target/linux/mvebu/image/armada-388-clearfog-pro.bootscript
+++ b/target/linux/mvebu/image/armada-388-clearfog-pro.bootscript
@@ -3,6 +3,10 @@
 # This script assumes that there is a boot partition,
 # and that the root partition is always the next one.
 
+# Override DeviceTree for Clearfog Pro
+# removed once U-Boot has been updated to the new name.
+setenv fdtfile armada-388-clearfog-pro.dtb
+
 # rootfs is always on the next partition
 setexpr openwrt_rootpart ${distro_bootpart} + 1