aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files-4.14/arch
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-10-22 23:47:53 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-11-01 17:16:52 +0100
commit6840f15a16607a2c08241ae3f8932b5c0431486b (patch)
tree425340f9702ea23ef633b2db37f4c3ba640e9091 /target/linux/ipq40xx/files-4.14/arch
parent8fc187a76ea00f89c26a489e5242bde4887fe529 (diff)
downloadupstream-6840f15a16607a2c08241ae3f8932b5c0431486b.tar.gz
upstream-6840f15a16607a2c08241ae3f8932b5c0431486b.tar.bz2
upstream-6840f15a16607a2c08241ae3f8932b5c0431486b.zip
ipq40xx: rt-ac58u: replace ubi auto load hack
This patch replaces the custom autoload quirk of the RT-AC58U with a bootargs-append overwrite. The vendor's u-boot doesn't leave the bootargs / cmdline alone, so the it can't be overwritten in any other way right now... And of course, this will be a lot of fun to deal with once the device switches to the new spi-nand subsystem. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/files-4.14/arch')
-rw-r--r--target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
index 0b3e4f0e65..4d546bf40f 100644
--- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
+++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
@@ -35,6 +35,10 @@
led-upgrade = &power;
};
+ chosen {
+ bootargs-append = " ubi.mtd=UBI_DEV";
+ };
+
soc {
mdio@90000 {
status = "okay";