mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
68d5efaa10
This patch implements the spi-nand controller driver as an ECC-capable spi-mem controller to use the upstream SPI-NAND driver. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
19 lines
435 B
Diff
19 lines
435 B
Diff
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
|
|
@@ -580,7 +580,7 @@
|
|
reg = <0x140000 0x0080000>;
|
|
};
|
|
|
|
- partition@1c0000 {
|
|
+ factory: partition@1c0000 {
|
|
label = "Factory";
|
|
reg = <0x1c0000 0x0100000>;
|
|
};
|
|
@@ -641,5 +641,6 @@
|
|
&wmac {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wmac_pins>;
|
|
+ mediatek,mtd-eeprom = <&factory 0x0000>;
|
|
status = "okay";
|
|
};
|