From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 16 Apr 2005 15:20:36 -0700 Subject: Linux-2.6.12-rc2 Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip! --- include/asm-ppc/ibm4xx.h | 124 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 include/asm-ppc/ibm4xx.h (limited to 'include/asm-ppc/ibm4xx.h') diff --git a/include/asm-ppc/ibm4xx.h b/include/asm-ppc/ibm4xx.h new file mode 100644 index 00000000000..35260afa33a --- /dev/null +++ b/include/asm-ppc/ibm4xx.h @@ -0,0 +1,124 @@ +/* + * + * Copyright (c) 1999 Grant Erickson + * + * Module name: ibm4xx.h + * + * Description: + * A generic include file which pulls in appropriate include files + * for specific board types based on configuration settings. + * + */ + +#ifdef __KERNEL__ +#ifndef __ASM_IBM4XX_H__ +#define __ASM_IBM4XX_H__ + +#include +#include + +#ifdef CONFIG_40x + +#if defined(CONFIG_ASH) +#include +#endif + +#if defined(CONFIG_BUBINGA) +#include +#endif + +#if defined(CONFIG_CPCI405) +#include +#endif + +#if defined(CONFIG_EP405) +#include +#endif + +#if defined(CONFIG_OAK) +#include +#endif + +#if defined(CONFIG_REDWOOD_4) +#include +#endif + +#if defined(CONFIG_REDWOOD_5) +#include +#endif + +#if defined(CONFIG_REDWOOD_6) +#include +#endif + +#if defined(CONFIG_SYCAMORE) +#include +#endif + +#if defined(CONFIG_WALNUT) +#include +#endif + +#if defined(CONFIG_XILINX_ML300) +#include +#endif + +#ifndef __ASSEMBLY__ + +#ifdef CONFIG_40x +/* + * The "residual" board information structure the boot loader passes + * into the kernel. + */ +extern bd_t __res; +#endif + +void ppc4xx_setup_arch(void); +void ppc4xx_map_io(void); +void ppc4xx_init_IRQ(void); +void ppc4xx_init(unsigned long r3, unsigned long r4, unsigned long r5, + unsigned long r6, unsigned long r7); +#endif + +#ifndef PPC4xx_MACHINE_NAME +#define PPC4xx_MACHINE_NAME "Unidentified 4xx class" +#endif + + +/* IO_BASE is for PCI I/O. + * ISA not supported, just here to resolve copilation. + */ + +#ifndef _IO_BASE +#define _IO_BASE 0xe8000000 /* The PCI address window */ +#define _ISA_MEM_BASE 0 +#define PCI_DRAM_OFFSET 0 +#endif + +#elif CONFIG_44x + +#if defined(CONFIG_EBONY) +#include +#endif + +#if defined(CONFIG_LUAN) +#include +#endif + +#if defined(CONFIG_OCOTEA) +#include +#endif + +#ifndef __ASSEMBLY__ +#ifdef CONFIG_40x +/* + * The "residual" board information structure the boot loader passes + * into the kernel. + */ +extern bd_t __res; +#endif +#endif +#endif /* CONFIG_40x */ + +#endif /* __ASM_IBM4XX_H__ */ +#endif /* __KERNEL__ */ -- cgit v1.2.3