[U-Boot] [PATCH 1/8 v3] powerpc/srio: Rewrite the struct ccsr_rio

Andy Fleming afleming at gmail.com
Tue Mar 6 23:30:35 CET 2012


On Tue, Mar 6, 2012 at 3:45 AM, Liu Gang <Gang.Liu at freescale.com> wrote:
> Rewrite this struct for the support of two ports and two message
> units registers.
>
> Signed-off-by: Liu Gang <Gang.Liu at freescale.com>
> ---
> Changes in v2:
>  - Change the subject and commit message.
>  - Remove the offsets in the comments.
>  - Rewrite the struct for the support of two ports
>   and two message units registers.
>
> Changes in v3:
>  - Move some SRIO macros to the appropriate board
>   configure header files.
>
>  arch/powerpc/include/asm/immap_85xx.h |  384 +++++++++++++++++++--------------
>  include/configs/MPC8548CDS.h          |    5 +
>  include/configs/MPC8568MDS.h          |    5 +
>  include/configs/MPC8569MDS.h          |    5 +
>  include/configs/P2020DS.h             |    5 +
>  include/configs/P2041RDB.h            |    3 +
>  include/configs/corenet_ds.h          |    7 +

It occurs to me that these defines are really better suited for
arch/powerpc/include/asm/config_mpc85xx.h. Notice that's where the
other SOC-specific configs (like number of devices) are kept. Changing
things there will make it easier to support different boards.

Andy


More information about the U-Boot mailing list