| * Author: Armin Kuster <akuster@mvista.com> |
| * 2002 (c) MontaVista, Software, Inc. This file is licensed under |
| * the terms of the GNU General Public License version 2. This program |
| * is licensed "as is" without any warranty of any kind, whether express |
| * This an attempt to get Power Management going for the IBM 4xx processor. |
| * This was derived from the ppc4xx._setup.c file |
| #include <linux/config.h> |
| /* turn off unused hardware to save power */ |
| value |= CPM_DCP; /* CodePack */ |
| #if !defined(CONFIG_IBM_OCP_GPIO) |
| #if !defined(CONFIG_PPC405_I2C_ADAP) |
| #if !defined(CONFIG_405_DMA) |
| mtdcr(DCRN_CPMFR, value); |