2005-04-17 00:20:36 +02:00
|
|
|
/*
|
|
|
|
* Since there are many different boards and no standard configuration,
|
|
|
|
* we have a unique include file for each. Rather than change every
|
|
|
|
* file that has to include MPC8260 configuration, they all include
|
|
|
|
* this one and the configuration switching is done here.
|
|
|
|
*/
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
#ifndef __ASM_PPC_MPC8260_H__
|
|
|
|
#define __ASM_PPC_MPC8260_H__
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_8260
|
|
|
|
|
|
|
|
#ifdef CONFIG_EST8260
|
|
|
|
#include <platforms/est8260.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_SBC82xx
|
|
|
|
#include <platforms/sbc82xx.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_SBS8260
|
|
|
|
#include <platforms/sbs8260.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_RPX8260
|
|
|
|
#include <platforms/rpx8260.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_WILLOW
|
|
|
|
#include <platforms/willow.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_TQM8260
|
|
|
|
#include <platforms/tqm8260.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_PQ2ADS) || defined (CONFIG_PQ2FADS)
|
|
|
|
#include <platforms/pq2ads.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef CONFIG_PCI_8260
|
2005-05-29 00:52:09 +02:00
|
|
|
#include <syslib/m82xx_pci.h>
|
2005-04-17 00:20:36 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Make sure the memory translation stuff is there if PCI not used.
|
|
|
|
*/
|
|
|
|
#ifndef _IO_BASE
|
|
|
|
#define _IO_BASE 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef _ISA_MEM_BASE
|
|
|
|
#define _ISA_MEM_BASE 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PCI_DRAM_OFFSET
|
|
|
|
#define PCI_DRAM_OFFSET 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Map 256MB I/O region
|
|
|
|
*/
|
|
|
|
#ifndef IO_PHYS_ADDR
|
|
|
|
#define IO_PHYS_ADDR 0xe0000000
|
|
|
|
#endif
|
|
|
|
#ifndef IO_VIRT_ADDR
|
|
|
|
#define IO_VIRT_ADDR IO_PHYS_ADDR
|
|
|
|
#endif
|
|
|
|
|
2005-09-04 00:55:34 +02:00
|
|
|
enum ppc_sys_devices {
|
|
|
|
MPC82xx_CPM_FCC1,
|
|
|
|
MPC82xx_CPM_FCC2,
|
|
|
|
MPC82xx_CPM_FCC3,
|
|
|
|
MPC82xx_CPM_I2C,
|
|
|
|
MPC82xx_CPM_SCC1,
|
|
|
|
MPC82xx_CPM_SCC2,
|
|
|
|
MPC82xx_CPM_SCC3,
|
|
|
|
MPC82xx_CPM_SCC4,
|
|
|
|
MPC82xx_CPM_SPI,
|
|
|
|
MPC82xx_CPM_MCC1,
|
|
|
|
MPC82xx_CPM_MCC2,
|
|
|
|
MPC82xx_CPM_SMC1,
|
|
|
|
MPC82xx_CPM_SMC2,
|
|
|
|
MPC82xx_CPM_USB,
|
|
|
|
MPC82xx_SEC1,
|
2006-08-15 08:00:31 +02:00
|
|
|
MPC82xx_MDIO_BB,
|
2006-01-20 20:22:34 +01:00
|
|
|
NUM_PPC_SYS_DEVS,
|
2005-09-04 00:55:34 +02:00
|
|
|
};
|
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
/* The "residual" data board information structure the boot loader
|
|
|
|
* hands to us.
|
|
|
|
*/
|
|
|
|
extern unsigned char __res[];
|
|
|
|
#endif
|
|
|
|
|
2005-10-29 02:46:28 +02:00
|
|
|
#ifndef BOARD_CHIP_NAME
|
|
|
|
#define BOARD_CHIP_NAME ""
|
|
|
|
#endif
|
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#endif /* CONFIG_8260 */
|
|
|
|
#endif /* !__ASM_PPC_MPC8260_H__ */
|
|
|
|
#endif /* __KERNEL__ */
|