On Oct 18, 2007, at 1:01 PM, Anton Vorontsov wrote:

> MPC8568E-MDS have 1 32MB Spansion x16 CFI flash chip. Let's use it.
>
> Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]>
> ---
>  arch/powerpc/boot/dts/mpc8568mds.dts |   34 +++++++++++++++++++++++ 
> ++++++++++-
>  1 files changed, 33 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/ 
> boot/dts/mpc8568mds.dts
> index be8d512..758ada4 100644
> --- a/arch/powerpc/boot/dts/mpc8568mds.dts
> +++ b/arch/powerpc/boot/dts/mpc8568mds.dts
> @@ -47,12 +47,44 @@
>               #size-cells = <1>;
>               compatible = "fsl,mpc8568-localbus";
>               reg = <e0005000 d8>;
> -             ranges = <1 0 f8000000 0008000>;
> +             ranges = <1 0 f8000000 0008000
> +                       0 0 fe000000 2000000>;
>
>               [EMAIL PROTECTED],0 {
>                       device_type = "board-control";
>                       reg = <1 0 8000>;
>               };
> +
> +             [EMAIL PROTECTED],0 {
> +                     #address-cells = <1>;
> +                     #size-cells = <1>;
> +                     compatible = "Spansion,S29GL256N11TFIV2O", "cfi-flash";
> +                     reg = <0 0 2000000>;
> +                     bank-width = <2>;
> +                     device-width = <1>;
> +

Are you basing the partition map on something or making it up?   
Clearly hrcw & u-boot are at fixed offsets, wondering about kernel &  
rootfs?

> +                     [EMAIL PROTECTED] {
> +                             label = "hrcw";
> +                             reg = <0 20000>;
> +                             read-only;
> +                     };
> +
> +                     [EMAIL PROTECTED] {
> +                             label = "kernel";
> +                             reg = <20000 200000>;
> +                     };
> +
> +                     [EMAIL PROTECTED] {
> +                             label = "rootfs";
> +                             reg = <220000 1d60000>;
> +                     };
> +
> +                     [EMAIL PROTECTED] {
> +                             label = "u-boot";
> +                             reg = <1f80000 80000>;
> +                             read-only;
> +                     };
> +             };
>       };
>
>       [EMAIL PROTECTED] {
> -- 
> 1.5.0.6
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to