mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 15:41:15 +01:00
ramips: remove obsolete SPI flash nodes after kernel fix
Remove incomplete SPI flash definitions from affected device tree files. These fragments only defined address-cells and size-cells without any actual flash configuration (partitions, compatible string, etc.). After applying openwrt/openwrt#20942 ("kernel: of: fix bad cell count error for SPI flash node"), the kernel properly handles SPI flash nodes without requiring these incomplete definitions in device-specific DTS files. This cleanup eliminates unnecessary code that was likely a workaround for the previous kernel issue. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/22036 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 313d56366448d8c2ca12daba7725fdd848057d98)
This commit is contained in:
parent
e370701a57
commit
17d625c858
@ -80,13 +80,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
flash@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&state_default {
|
||||
gpio {
|
||||
groups = "i2c", "uartf", "ephy", "rgmii2";
|
||||
|
||||
@ -88,13 +88,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
flash@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&state_default {
|
||||
gpio {
|
||||
groups = "i2c", "uartf", "ephy", "rgmii2";
|
||||
|
||||
@ -94,8 +94,6 @@
|
||||
num-cs = <2>;
|
||||
|
||||
flash@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-max-frequency = <20000000>;
|
||||
reg = <0>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user