powerpc: mpc512x: array decl for MCLK registers in CCM
authorGerhard Sittig <gsi@denx.de>
Mon, 3 Jun 2013 17:44:31 +0000 (19:44 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 23 Aug 2013 21:41:55 +0000 (23:41 +0200)
commitadf78076fcb3764774828ec777203e37280bdecf
tree865b0178c37561edd2e87c1b64facdf941ab58af
parenta5d7a6dea6ac289669a6e7e8c7e7d66893a5c0f5
powerpc: mpc512x: array decl for MCLK registers in CCM

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 elsewhere

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/include/asm/mpc5121.h