Commit c6b22ca6 authored by Allen Curtis's avatar Allen Curtis Committed by Paul Mackerras

PPC32: Further 8260 update; one file was missed in the previous commit.

parent fcc94683
...@@ -9,51 +9,35 @@ ...@@ -9,51 +9,35 @@
#define __CONFIG_8260_DEFS #define __CONFIG_8260_DEFS
#include <linux/config.h> #include <linux/config.h>
#include <platforms/mpc82xx.h>
#ifdef CONFIG_8260 /* Make sure the memory translation stuff is there if PCI not used.
*/
#ifdef CONFIG_EST8260 #ifndef _IO_BASE
#include <platforms/est8260.h> #define _IO_BASE 0
#endif #endif
#ifdef CONFIG_SBS8260 #ifndef _ISA_MEM_BASE
#include <platforms/sbs8260.h> #define _ISA_MEM_BASE 0
#endif #endif
#ifdef CONFIG_RPX6 #ifndef PCI_DRAM_OFFSET
#include <platforms/rpxsuper.h> #define PCI_DRAM_OFFSET 0
#endif #endif
#ifdef CONFIG_WILLOW /* Map 256MB I/O region
#include <platforms/willow.h> */
#ifndef IO_PHYS_ADDR
#define IO_PHYS_ADDR 0xe0000000
#endif #endif
#ifndef IO_VIRT_ADDR
#ifdef CONFIG_TQM8260 #define IO_VIRT_ADDR IO_PHYS_ADDR
#include <platforms/tqm8260.h>
#endif #endif
/* I don't yet have the ISA or PCI stuff done....no 8260 with
* such thing.....
*/
#define _IO_BASE 0
#define _ISA_MEM_BASE 0
#define PCI_DRAM_OFFSET 0
/* The "residual" data board information structure the boot loader /* The "residual" data board information structure the boot loader
* hands to us. * hands to us.
*/ */
extern unsigned char __res[]; extern unsigned char __res[];
/* I need this to get pt_regs.......
*/
#include <asm/ptrace.h>
extern int request_8xxirq(unsigned int irq,
void (*handler)(int, void *, struct pt_regs *),
unsigned long flags,
const char *device,
void *dev_id);
#endif /* CONFIG_8260 */
#endif /* !__CONFIG_8260_DEFS */ #endif /* !__CONFIG_8260_DEFS */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment