forked from mirror/openwrt
apm821xx: dts: explicitly set the partition reg size for Netgear WNDR4700
Correct the mtd partition reg property size to address the following dtc warnings: ../dts/netgear-wndr4700.dts:191.6-33: Warning (reg_format): /plb/opb/ebc/ndfc@1,0/nand/partitions/partition@0/partition@40000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18242 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
7dee632bee
commit
73b198869a
1 changed files with 3 additions and 1 deletions
|
|
@ -181,9 +181,11 @@
|
|||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
label = "uboot";
|
||||
reg = <0x00000000 0x00180000>;
|
||||
compatible = "fixed-partitions";
|
||||
read-only;
|
||||
|
||||
partition@40000 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue