[PATCH] powerpc/85xx: DTS - re-organize the SPI partitions property

Scott Wood scottwood at freescale.com
Wed Sep 11 09:33:25 EST 2013


On Fri, 2013-09-06 at 16:05 +0800, Mingkai Hu wrote:
> Re-organize the SPI partitions and use the same SPI flash memory
> map for most of the platforms which have 16MB SPI flash mounted.
[snip]
> Based on 'next' branch on git tree:
> git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git
> 
>  arch/powerpc/boot/dts/bsc9131rdb.dtsi  | 35 ++++++++++++-----------------
>  arch/powerpc/boot/dts/c293pcie.dts     | 35 ++++++++++++-----------------
>  arch/powerpc/boot/dts/mpc8536ds.dtsi   | 12 +++++-----
>  arch/powerpc/boot/dts/p1010rdb.dtsi    | 40 ++++++++++++----------------------
>  arch/powerpc/boot/dts/p1020rdb-pc.dtsi | 24 +++++---------------
>  arch/powerpc/boot/dts/p1020rdb-pd.dts  | 34 ++++++++++++-----------------
>  arch/powerpc/boot/dts/p1020rdb.dtsi    | 23 ++++---------------
>  arch/powerpc/boot/dts/p1021mds.dts     | 17 +++++++--------
>  arch/powerpc/boot/dts/p1021rdb-pc.dtsi | 32 +++++++++------------------
>  arch/powerpc/boot/dts/p1022ds.dtsi     | 21 +++++++++---------
>  arch/powerpc/boot/dts/p1023rds.dts     | 10 ++-------
>  arch/powerpc/boot/dts/p1024rdb.dtsi    | 40 ++++++++++++----------------------
>  arch/powerpc/boot/dts/p1025rdb.dtsi    | 23 +++++--------------
>  arch/powerpc/boot/dts/p2020rdb-pc.dtsi | 40 ++++++++++++----------------------
>  arch/powerpc/boot/dts/p2020rdb.dts     | 38 ++++++++++----------------------
>  arch/powerpc/boot/dts/p2041rdb.dts     | 12 +++++-----
>  arch/powerpc/boot/dts/p3041ds.dts      | 12 +++++-----
>  arch/powerpc/boot/dts/p4080ds.dts      | 12 +++++-----
>  arch/powerpc/boot/dts/p5020ds.dts      | 12 +++++-----
>  arch/powerpc/boot/dts/p5040ds.dts      | 13 ++++++-----

What happens to exsting users whose flash is laid out the existing way,
when they upgrade to these device trees?

We really should not be putting partition layout info in the device tree
to begin with...

-Scott





More information about the Linuxppc-dev mailing list