2 * Ugly header containing required header files. This could be adjusted
3 * so that including asm/arch/hardware includes the correct file.
5 * (C) Copyright 2000-2009
6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 * SPDX-License-Identifier: GPL-2.0+
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
24 #if defined(CONFIG_MPC860) || defined(CONFIG_MPC860T) || \
25 defined(CONFIG_MPC866_FAMILY) || defined(CONFIG_MPC885_FAMILY)
26 # define CONFIG_MPC86x 1
28 #elif defined(CONFIG_5xx)
29 #include <asm/5xx_immap.h>
30 #elif defined(CONFIG_MPC5xxx)
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
38 #include <asm/immap_8260.h>
42 #include <asm/immap_86xx.h>
46 #include <asm/immap_85xx.h>
50 #include <asm/immap_83xx.h>
53 #include <asm/ppc4xx.h>
55 #ifdef CONFIG_SOC_DA8XX
56 #include <asm/arch/hardware.h>
58 #ifdef CONFIG_FSL_LSCH3
59 #include <asm/arch/immap_lsch3.h>
61 #ifdef CONFIG_FSL_LSCH2
62 #include <asm/arch/immap_lsch2.h>
65 #endif /* !__ASSEMBLY__ */