mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-10 23:57:27 -04:00
mediatek: apply bootloader work-around for affected ASUS devices
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:
@@ -210,7 +210,7 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
spi_nand: flash@0 {
|
spi_nand: flash@0 {
|
||||||
compatible = "spi-nand";
|
compatible = "u-boot-dont-touch-spi-nand";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
* Device Tree and by that also deletes all additional properties
|
* Device Tree and by that also deletes all additional properties
|
||||||
* needed for UBI and NVMEM-on-UBI.
|
* needed for UBI and NVMEM-on-UBI.
|
||||||
* Prevent this from happening by tricking the loader to delete and
|
* 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 {
|
partitions: dummy {
|
||||||
compatible = "u-boot-dummy-partitions";
|
compatible = "u-boot-dummy-partitions";
|
||||||
|
|||||||
@@ -217,7 +217,7 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
spi_nand_flash: flash@0 {
|
spi_nand_flash: flash@0 {
|
||||||
compatible = "spi-nand";
|
compatible = "u-boot-dont-touch-spi-nand";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
@@ -231,7 +231,7 @@
|
|||||||
* Device Tree and by that also deletes all additional properties
|
* Device Tree and by that also deletes all additional properties
|
||||||
* needed for UBI and NVMEM-on-UBI.
|
* needed for UBI and NVMEM-on-UBI.
|
||||||
* Prevent this from happening by tricking the loader to delete and
|
* 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 {
|
partitions: dummy {
|
||||||
compatible = "u-boot-dummy-partitions";
|
compatible = "u-boot-dummy-partitions";
|
||||||
|
|||||||
@@ -231,7 +231,7 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
spi_nand_flash: flash@0 {
|
spi_nand_flash: flash@0 {
|
||||||
compatible = "spi-nand";
|
compatible = "u-boot-dont-touch-spi-nand";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
* Device Tree and by that also deletes all additional properties
|
* Device Tree and by that also deletes all additional properties
|
||||||
* needed for UBI and NVMEM-on-UBI.
|
* needed for UBI and NVMEM-on-UBI.
|
||||||
* Prevent this from happening by tricking the loader to delete and
|
* 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 {
|
partitions: dummy {
|
||||||
compatible = "u-boot-dummy-partitions";
|
compatible = "u-boot-dummy-partitions";
|
||||||
|
|||||||
Reference in New Issue
Block a user