From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nommos.sslcatacombnetworking.com (nommos.sslcatacombnetworking.com [67.18.224.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 3B30167B32 for ; Mon, 19 Jun 2006 00:31:07 +1000 (EST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: From: Kumar Gala Subject: Re: [PATCH 7/9 v3] Add 8641 Register space and IRQ definitions. Date: Sun, 18 Jun 2006 09:31:53 -0500 To: Jon Loeliger Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Jun 17, 2006, at 5:52 PM, Jon Loeliger wrote: [snip] > diff --git a/include/asm-powerpc/mpc86xx.h b/include/asm-powerpc/ > mpc86xx.h > new file mode 100644 > index 0000000..d0a6718 > --- /dev/null > +++ b/include/asm-powerpc/mpc86xx.h > @@ -0,0 +1,47 @@ > +/* > + * MPC86xx definitions > + * > + * Author: Jeff Brown > + * > + * Copyright 2004 Freescale Semiconductor, Inc > + * > + * This program is free software; you can redistribute it and/or > modify it > + * under the terms of the GNU General Public License as > published by the > + * Free Software Foundation; either version 2 of the License, or > (at your > + * option) any later version. > + */ > + > +#ifdef __KERNEL__ > +#ifndef __ASM_POWERPC_MPC86xx_H__ > +#define __ASM_POWERPC_MPC86xx_H__ > + > +#include > +#include > + > +#ifdef CONFIG_PPC_86xx > + > +#ifdef CONFIG_MPC8641_HPCN > +#include > +#endif > Is this really needed, its a hold over from arch/ppc. I dont think you need anything defined in mpc8641_hpcn.h. This always created funny dependancies and would be nice to get ride of. > + > +#define _IO_BASE isa_io_base > +#define _ISA_MEM_BASE isa_mem_base > +#ifdef CONFIG_PCI > +#define PCI_DRAM_OFFSET pci_dram_offset > +#else > +#define PCI_DRAM_OFFSET 0 > +#endif > + > +#define CPU0_BOOT_RELEASE 0x01000000 > +#define CPU1_BOOT_RELEASE 0x02000000 > +#define CPU_ALL_RELEASED (CPU0_BOOT_RELEASE | CPU1_BOOT_RELEASE) > +#define MCM_PORT_CONFIG_OFFSET 0x1010 > + > +/* Offset from CCSRBAR */ > +#define MPC86xx_OPENPIC_OFFSET (0x40000) > +#define MPC86xx_MCM_OFFSET (0x00000) > +#define MPC86xx_MCM_SIZE (0x02000) > + > +#endif /* CONFIG_PPC_86xx */ > +#endif /* __ASM_POWERPC_MPC86xx_H__ */ > +#endif /* __KERNEL__ */ > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev