From f84d6d2f3a84d8694cad8d069f1a6d355f497e0d Mon Sep 17 00:00:00 2001 From: Jeff Kletsky Date: Fri, 15 Nov 2019 08:51:43 -0800 Subject: [PATCH] ath79: fix firmware partition attributes for GL-AR300M16 and -Lite 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 [extend commit message, alter commit title] Signed-off-by: Adrian Schmutzler --- target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts | 5 +++++ target/linux/ath79/dts/qca9531_glinet_gl-ar300m16.dts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts index ed00cdb585..0eeda5c3c9 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts +++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts @@ -11,6 +11,11 @@ /delete-node/ &nand_flash; +&nor_firmware { + compatible = "denx,uimage"; + label = "firmware"; +}; + // "Disable" unpopulated GMAC1 ð1 { diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m16.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m16.dts index ad491286ec..328b667f7b 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m16.dts +++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m16.dts @@ -10,3 +10,8 @@ }; /delete-node/ &nand_flash; + +&nor_firmware { + compatible = "denx,uimage"; + label = "firmware"; +};