stop and disable unused SOC components by stopping their clocks

This commit is contained in:
Markus Fröschle
2013-08-13 10:20:44 +00:00
parent 7356f96fae
commit f0f25eac5e

View File

@@ -972,7 +972,7 @@ void initialize_hardware(void) {
/*
* save the planet (and reduce case heat): disable clocks of unused SOC modules
*/
MCF_CLOCK_SPCR = 0xffff & ~(
MCF_CLOCK_SPCR = 0xffffffff & ~(
0 | /* leave memory clock enabled */
0 | /* leave PCI clock enabled */
0 | /* leave FlexBus clock enabled */