]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88d38144f7ed09f8d1664cbe70de2227f94c0269
tree865b0178c37561edd2e87c1b64facdf941ab58af
parent5e0a0b38383576a3b5121fcfa2bb6ee94e0d4e5c
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