[libata] sata_sx4: named constant cleanup
[pohmelfs.git] / include / asm-powerpc / mpc85xx.h
blob54142997a5843e08e1e692c7b8bb3b2ac1ed5e96
1 /*
2 * include/asm-powerpc/mpc85xx.h
4 * MPC85xx definitions
6 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
8 * Copyright 2004 Freescale Semiconductor, Inc
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the
12 * Free Software Foundation; either version 2 of the License, or (at your
13 * option) any later version.
16 #ifdef __KERNEL__
17 #ifndef __ASM_MPC85xx_H__
18 #define __ASM_MPC85xx_H__
20 #include <asm/mmu.h>
22 #ifdef CONFIG_85xx
24 #if defined(CONFIG_MPC8540_ADS) || defined(CONFIG_MPC8560_ADS)
25 #include <platforms/85xx/mpc85xx_ads.h>
26 #endif
27 #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS)
28 #include <platforms/85xx/mpc8555_cds.h>
29 #endif
30 #ifdef CONFIG_MPC85xx_CDS
31 #include <platforms/85xx/mpc85xx_cds.h>
32 #endif
34 /* Let modules/drivers get at CCSRBAR */
35 extern phys_addr_t get_ccsrbar(void);
37 #ifdef MODULE
38 #define CCSRBAR get_ccsrbar()
39 #else
40 #define CCSRBAR BOARD_CCSRBAR
41 #endif
43 #endif /* CONFIG_85xx */
44 #endif /* __ASM_MPC85xx_H__ */
45 #endif /* __KERNEL__ */