Hi everybody !<br>I am currently trying to add the support of partitions for the Flash chip on my MPC8272ADS board (the chips are Sharp LH28F016SCT-L90).<br><br>I have added this part:<br><br>flash@0,0 {<br> compatible = "jedec-flash";<br>
reg = <0x0 0x0 0x2000000>;<br> bank-width = <4>;<br> device-width = <1>;<br><br> partition@ff800000 {<br> label = "kernel";<br>
reg = <0xff800000 0x00400000>;<br> read-only;<br> };<br> partition@ffc00000 {<br> label = "user";<br>
reg = <0xffc00000 0x00300000>;<br> };<br> partition@fff00000 {<br> label = "u-boot";<br> reg = <0xfff00000 0x00100000>;<br>
read-only;<br> };<br> };<br><br>But when I am compiling, I have these warnings:<br>Warning (reg_format): "reg" property in /localbus@f0010100/flash@0,0/partition@ff800000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)<br>
Warning (reg_format): "reg" property in /localbus@f0010100/flash@0,0/partition@ffc00000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)<br>Warning (reg_format): "reg" property in /localbus@f0010100/flash@0,0/partition@fff00000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)<br>
Warning (avoid_default_addr_size): Relying on default #address-cells value for /localbus@f0010100/flash@0,0/partition@ff800000<br>Warning (avoid_default_addr_size): Relying on default #size-cells value for /localbus@f0010100/flash@0,0/partition@ff800000<br>
Warning (avoid_default_addr_size): Relying on default #address-cells value for /localbus@f0010100/flash@0,0/partition@ffc00000<br>Warning (avoid_default_addr_size): Relying on default #size-cells value for /localbus@f0010100/flash@0,0/partition@ffc00000<br>
Warning (avoid_default_addr_size): Relying on default #address-cells value for /localbus@f0010100/flash@0,0/partition@fff00000<br>Warning (avoid_default_addr_size): Relying on default #size-cells value for /localbus@f0010100/flash@0,0/partition@fff00000<br>
<br><br>Can anyone help me ?<br>I can't understand what the "address-cells" is.<br><br>Thanks in advance !<br>Best Regards.<br>JM<br>