powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options
authorShaveta Leekha <shaveta@freescale.com>
Wed, 2 Jul 2014 06:14:15 +0000 (11:44 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 20 Aug 2014 17:44:15 +0000 (10:44 -0700)
commit390619ddb390b08d77a23dd6531d2ec4866fb1bd
tree7fa9077fff05e481b2bf11d3e188b5e8e3128278
parentce249d956c820af4b9790406461b1748741d0478
powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

If hwconfig does not contains "en_cpc" then by default all cpcs are enabled
If this config is defined then only those individual cpcs which are defined
in the subargument of "en_cpc" will be enabled e.g en_cpc:cpc1,cpc2; (this
will enable cpc1 and cpc2) or en_cpc:cpc2; (this enables just cpc2)

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
Signed-off-by: Sandeep Singh <Sandeep@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init.c