mediatek: apply bootloader work-around for affected ASUS devices
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run

Apply "u-boot-dont-touch-spi-nand" to ASUS RT-AX59U, ASUS TUF-AX4200 as
well as ASUS TUF-AX6000 routers to prevent U-Boot from wiping MTD
child nodes from DT.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2025-02-10 23:18:46 +00:00
parent c48afca32c
commit 4387de9445
3 changed files with 6 additions and 6 deletions

View File

@ -210,7 +210,7 @@
status = "okay";
spi_nand: flash@0 {
compatible = "spi-nand";
compatible = "u-boot-dont-touch-spi-nand";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
@ -224,7 +224,7 @@
* Device Tree and by that also deletes all additional properties
* needed for UBI and NVMEM-on-UBI.
* Prevent this from happening by tricking the loader to delete and
* replace a bait node instead.
* replace a bait node instead (works with older bootloaders).
*/
partitions: dummy {
compatible = "u-boot-dummy-partitions";

View File

@ -217,7 +217,7 @@
status = "okay";
spi_nand_flash: flash@0 {
compatible = "spi-nand";
compatible = "u-boot-dont-touch-spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
@ -231,7 +231,7 @@
* Device Tree and by that also deletes all additional properties
* needed for UBI and NVMEM-on-UBI.
* Prevent this from happening by tricking the loader to delete and
* replace a bait node instead.
* replace a bait node instead (works with older bootloaders).
*/
partitions: dummy {
compatible = "u-boot-dummy-partitions";

View File

@ -231,7 +231,7 @@
status = "okay";
spi_nand_flash: flash@0 {
compatible = "spi-nand";
compatible = "u-boot-dont-touch-spi-nand";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
@ -245,7 +245,7 @@
* Device Tree and by that also deletes all additional properties
* needed for UBI and NVMEM-on-UBI.
* Prevent this from happening by tricking the loader to delete and
* replace a bait node instead.
* replace a bait node instead (works with older bootloaders).
*/
partitions: dummy {
compatible = "u-boot-dummy-partitions";