ath79: fix firmware partition attributes for GL-AR300M16 and -Lite
authorJeff Kletsky <git-commits@allycomm.com>
Fri, 15 Nov 2019 16:51:43 +0000 (08:51 -0800)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 16 Nov 2019 01:41:13 +0000 (02:41 +0100)
During the introduction of the ath79/nand images for the GL-AR300M
series the firmware partition label and compatible were altered,
but the necessary adjustments have not been made for the
GL-AR300M16 and the GL-AR300M-Lite. This will result in a
non-bootable partition setup for these devices.

This patch adds the necessary definitions to those two devices.

Fixes: 55e6c903ae20 ("ath79: GL-AR300M: provide NAND support;
       increase to 4 MB kernel")
Fixes: b591cabd3989 ("ath79: add GL.iNet GL-AR300M16 as NOR-only
       board")

Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
[extend commit message, alter commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts
target/linux/ath79/dts/qca9531_glinet_gl-ar300m16.dts

index ed00cdb585d9be50f35ac5ccd434cb45dc229c1f..0eeda5c3c98bafeb290fa9a08272cae6178d38d3 100644 (file)
 
 /delete-node/ &nand_flash;
 
+&nor_firmware {
+       compatible = "denx,uimage";
+       label = "firmware";
+};
+
 // "Disable" unpopulated GMAC1
 
 &eth1 {
index ad491286ecbf201a3e9818a71449c8c54996f0a1..328b667f7b106550a107c2d771d2bb930bd43c0c 100644 (file)
@@ -10,3 +10,8 @@
 };
 
 /delete-node/ &nand_flash;
+
+&nor_firmware {
+       compatible = "denx,uimage";
+       label = "firmware";
+};