2 * Author: Armin Kuster <akuster@mvista.com>
4 * 2002 (c) MontaVista, Software, Inc. This file is licensed under
5 * the terms of the GNU General Public License version 2. This program
6 * is licensed "as is" without any warranty of any kind, whether express
9 * This an attempt to get Power Management going for the IBM 4xx processor.
10 * This was derived from the ppc4xx._setup.c file
13 #include <linux/config.h>
14 #include <linux/init.h>
16 #include <asm/ibm4xx.h>
22 unsigned int value
= 0;
24 /* turn off unused hardware to save power */
26 value
|= CPM_DCP
; /* CodePack */
29 #if !defined(CONFIG_IBM_OCP_GPIO)
33 #if !defined(CONFIG_PPC405_I2C_ADAP)
35 #ifdef CONFIG_STB03xxx
41 #if !defined(CONFIG_405_DMA)
45 mtdcr(DCRN_CPMFR
, value
);