/* * * pformCfg.h * Description: * platform configuration file * * * Copyright (C) 2008, Texas Instruments, Incorporated * * This program is free software; you can distribute it and/or modify it * under the terms of the GNU General Public License (Version 2) as * published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. * */ #ifndef __PFORM_CFG_H__ #define __PFORM_CFG_H__ #include #include #include #include //#if defined(CONFIG_MACH_PUMA5) #include #include #include #include #if defined(CONFIG_ARM_AVALANCHE_INTC) #include #endif #include #include #include //#endif #if defined(CONFIG_ARM_AVALANCHE_INTC) #include #include #endif #if defined(CONFIG_ARM_AVALANCHE_PCI) #include #endif #if defined(CONFIG_ARM_AVALANCHE_QUICK_IIC) #include #endif #include #if defined(CONFIG_ARM_AVALANCHE_LED) #include #include #include #endif #if defined(CONFIG_ARM_AVALANCHE_COLORED_LED) #include #endif #if defined(CONFIG_DMA_NONCOHERENT) #ifdef CONFIG_K0_COHERENCY_ALGO_WT_WA #define MIPS_4KC #else #define MIPS_4KEC #endif #endif #if defined(CONFIG_CPU_BIG_ENDIAN) #define PAL_NATIVE_ENDIAN_BIG #endif #if !defined(CONFIG_DMA_NONCOHERENT) && !defined(CONFIG_MIPS_UNCACHED) #error "Error in MIPS cache configuration. PAL SYS cache APIs will not work." #endif #endif /* __PFORM_CFG_H__ */