mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-20 06:21:16 +01:00
ramips: remove obsolete SPI flash nodes after kernel fix
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
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>
This commit is contained in:
parent
8b994ed397
commit
313d563664
3 changed files with 0 additions and 16 deletions
|
|
@ -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…
Add table
Reference in a new issue