common: powerpc: Move arch-specific headers
[platform/kernel/u-boot.git] / arch / powerpc / include / asm / ppc.h
1 /*
2  * Ugly header containing required header files. This could  be adjusted
3  * so that including asm/arch/hardware includes the correct file.
4  *
5  * (C) Copyright 2000-2009
6  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7  *
8  * SPDX-License-Identifier:     GPL-2.0+
9  */
10
11 #ifndef __ASM_PPC_H
12 #define __ASM_PPC_H
13
14 #ifndef __ASSEMBLY__
15
16 #if defined(CONFIG_8xx)
17 #include <asm/8xx_immap.h>
18 #if defined(CONFIG_MPC859) || defined(CONFIG_MPC859T) || \
19         defined(CONFIG_MPC866) ||  defined(CONFIG_MPC866P)
20 # define CONFIG_MPC866_FAMILY 1
21 #elif defined(CONFIG_MPC885)
22 # define CONFIG_MPC885_FAMILY   1
23 #endif
24 #if defined(CONFIG_MPC860) || defined(CONFIG_MPC860T) || \
25         defined(CONFIG_MPC866_FAMILY) || defined(CONFIG_MPC885_FAMILY)
26 # define CONFIG_MPC86x 1
27 #endif
28 #elif defined(CONFIG_5xx)
29 #include <asm/5xx_immap.h>
30 #elif defined(CONFIG_MPC5xxx)
31 #include <mpc5xxx.h>
32 #elif defined(CONFIG_MPC512X)
33 #include <asm/immap_512x.h>
34 #elif defined(CONFIG_MPC8260)
35 #if defined(CONFIG_MPC8247) || defined(CONFIG_MPC8272)
36 #define CONFIG_MPC8272_FAMILY   1
37 #endif
38 #include <asm/immap_8260.h>
39 #endif
40 #ifdef CONFIG_MPC86xx
41 #include <mpc86xx.h>
42 #include <asm/immap_86xx.h>
43 #endif
44 #ifdef CONFIG_MPC85xx
45 #include <mpc85xx.h>
46 #include <asm/immap_85xx.h>
47 #endif
48 #ifdef CONFIG_MPC83xx
49 #include <mpc83xx.h>
50 #include <asm/immap_83xx.h>
51 #endif
52 #ifdef  CONFIG_4xx
53 #include <asm/ppc4xx.h>
54 #endif
55 #ifdef CONFIG_SOC_DA8XX
56 #include <asm/arch/hardware.h>
57 #endif
58 #ifdef CONFIG_FSL_LSCH3
59 #include <asm/arch/immap_lsch3.h>
60 #endif
61 #ifdef CONFIG_FSL_LSCH2
62 #include <asm/arch/immap_lsch2.h>
63 #endif
64
65 #endif /* !__ASSEMBLY__ */
66
67 #endif