mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
powerpc/t1040: Update defines to support T1040SoC personalities
T1040 Soc has four personalities: -T1040 (4 cores with L2 switch) -T1042:Reduced personality of T1040 without L2 switch -T1020:Reduced personality of T1040 with less cores(2 cores) -T1022:Reduced personality of T1040 with 2 cores and without L2 switch Update defines in arch/powerpc header files, Makefiles and in driver/net/fm/Makefile to support all T1040 personalities Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com> [York Sun: fixed Makefiles] Acked-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
62af7615eb
commit
2967af6816
4 changed files with 17 additions and 2 deletions
|
@ -70,6 +70,9 @@ obj-$(CONFIG_PPC_B4860) += ddr-gen3.o
|
|||
obj-$(CONFIG_BSC9131) += ddr-gen3.o
|
||||
obj-$(CONFIG_BSC9132) += ddr-gen3.o
|
||||
obj-$(CONFIG_PPC_T1040) += ddr-gen3.o
|
||||
obj-$(CONFIG_PPC_T1042) += ddr-gen3.o
|
||||
obj-$(CONFIG_PPC_T1020) += ddr-gen3.o
|
||||
obj-$(CONFIG_PPC_T1022) += ddr-gen3.o
|
||||
|
||||
obj-$(CONFIG_CPM2) += ether_fcc.o
|
||||
obj-$(CONFIG_OF_LIBFDT) += fdt.o
|
||||
|
@ -89,6 +92,10 @@ obj-$(CONFIG_PPC_T4160) += t4240_ids.o
|
|||
obj-$(CONFIG_PPC_B4420) += b4860_ids.o
|
||||
obj-$(CONFIG_PPC_B4860) += b4860_ids.o
|
||||
obj-$(CONFIG_PPC_T1040) += t1040_ids.o
|
||||
obj-$(CONFIG_PPC_T1042) += t1040_ids.o
|
||||
obj-$(CONFIG_PPC_T1020) += t1040_ids.o
|
||||
obj-$(CONFIG_PPC_T1022) += t1040_ids.o
|
||||
|
||||
|
||||
obj-$(CONFIG_QE) += qe_io.o
|
||||
obj-$(CONFIG_CPM2) += serial_scc.o
|
||||
|
@ -128,6 +135,9 @@ obj-$(CONFIG_PPC_B4420) += b4860_serdes.o
|
|||
obj-$(CONFIG_PPC_B4860) += b4860_serdes.o
|
||||
obj-$(CONFIG_BSC9132) += bsc9132_serdes.o
|
||||
obj-$(CONFIG_PPC_T1040) += t1040_serdes.o
|
||||
obj-$(CONFIG_PPC_T1042) += t1040_serdes.o
|
||||
obj-$(CONFIG_PPC_T1020) += t1040_serdes.o
|
||||
obj-$(CONFIG_PPC_T1022) += t1040_serdes.o
|
||||
|
||||
obj-y += cpu.o
|
||||
obj-y += cpu_init.o
|
||||
|
|
|
@ -674,7 +674,8 @@
|
|||
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
||||
#endif
|
||||
|
||||
#elif defined(CONFIG_PPC_T1040)
|
||||
#elif defined(CONFIG_PPC_T1040) || defined(CONFIG_PPC_T1042) ||\
|
||||
defined(CONFIG_PPC_T1020) || defined(CONFIG_PPC_T1022)
|
||||
#define CONFIG_E5500
|
||||
#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
|
||||
#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
|
||||
|
|
|
@ -1847,7 +1847,8 @@ typedef struct ccsr_gur {
|
|||
#define FSL_CORENET2_RCWSR4_SRDS2_PRTCL 0x00ff0000
|
||||
#define FSL_CORENET2_RCWSR4_SRDS2_PRTCL_SHIFT 16
|
||||
#define FSL_CORENET_RCWSR6_BOOT_LOC 0x0f800000
|
||||
#elif defined(CONFIG_PPC_T1040)
|
||||
#elif defined(CONFIG_PPC_T1040) || defined(CONFIG_PPC_T1042) ||\
|
||||
defined(CONFIG_PPC_T1020) || defined(CONFIG_PPC_T1022)
|
||||
#define FSL_CORENET2_RCWSR4_SRDS1_PRTCL 0xff000000
|
||||
#define FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT 24
|
||||
#define FSL_CORENET2_RCWSR4_SRDS2_PRTCL 0x00fe0000
|
||||
|
|
|
@ -26,6 +26,9 @@ obj-$(CONFIG_PPC_P4080) += p4080.o
|
|||
obj-$(CONFIG_PPC_P5020) += p5020.o
|
||||
obj-$(CONFIG_PPC_P5040) += p5040.o
|
||||
obj-$(CONFIG_PPC_T1040) += t1040.o
|
||||
obj-$(CONFIG_PPC_T1042) += t1040.o
|
||||
obj-$(CONFIG_PPC_T1020) += t1040.o
|
||||
obj-$(CONFIG_PPC_T1022) += t1040.o
|
||||
obj-$(CONFIG_PPC_T4240) += t4240.o
|
||||
obj-$(CONFIG_PPC_T4160) += t4240.o
|
||||
obj-$(CONFIG_PPC_B4420) += b4860.o
|
||||
|
|
Loading…
Add table
Reference in a new issue