[PATCH v4 12/31] powerpc: mpc512x: array decl for MCLK registers in CCM

Anatolij Gustschin agust at denx.de
Sat Aug 24 07:49:12 EST 2013


On Tue,  6 Aug 2013 22:43:52 +0200
Gerhard Sittig <gsi at denx.de> wrote:

> reword the clock control module's registers declaration such that the
> MCLK related registers form an array and get indexed by PSC controller
> or CAN controller component number
> 
> this change is in preparation to COMMON_CLK support for the MPC512x
> platform, the changed declaration remains neutral to existing code since
> the PSC and MSCAN CCR fields declared here aren't referenced anywhere
> 
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
>  arch/powerpc/include/asm/mpc5121.h |   18 ++----------------
>  1 file changed, 2 insertions(+), 16 deletions(-)

Applied, thanks!

Anatolij


More information about the Linuxppc-dev mailing list