Re: [PATCH v2] mtd: ofpart: support partitions of 4 GB and larger

David Woodhouse
2013-04-05T11:23:22Z

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

On Thu, 2013-02-21 at 16:29 -0600, Aaron Sierra wrote:
> + /* an 8 GB partition */
> + partition@0 {
> + label = "filesystem #1";
> + reg = <0x0 0x00000000 0x2 0x00000000>;
> + };
> +
> + /* a 4 GB partition */
> + partition@200000000 {
> + label = "filesystem #2";
> + reg = <0x2 0x00000000 0x1 0x00000000>;
> + };
> +};

The comments here don't match the actual definitions. I fixed it to read
as follows:

flash@2 {
#address-cells = <2>;
#size-cells = <2>;

/* an 8 GB partition */
partition@0 {
label = "filesystem #1";
reg = <0x0 0x00000000 0x1 0xdcd65000>;
};

/* a 4 GB partition */
partition@200000000 {
label = "filesystem #2";
reg = <0x1 0xdcd65000 0x0 0xee6b2800>;
};
};

--
dwmw2

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 6171 bytes --]