blob: 4cc12ee70fff4b83defe1eabe92069dd4a41b9fb [file] [log] [blame]
Kumar Galafe137112011-01-19 03:05:26 -06001/*
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +00002 * Copyright 2011-2012 Freescale Semiconductor, Inc.
Kumar Galafe137112011-01-19 03:05:26 -06003 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Kumar Galafe137112011-01-19 03:05:26 -06005 */
6
7#ifndef _ASM_MPC85xx_CONFIG_H_
8#define _ASM_MPC85xx_CONFIG_H_
9
10/* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */
11
Timur Tabid8f341c2011-08-04 18:03:41 -050012#ifdef CONFIG_SYS_CCSRBAR_DEFAULT
13#error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file."
14#endif
15
York Sunf066a042012-10-28 08:12:54 +000016/*
17 * This macro should be removed when we no longer care about backwards
18 * compatibility with older operating systems.
19 */
20#define CONFIG_PPC_SPINTABLE_COMPATIBLE
21
York Sun7d69ea32012-10-08 07:44:22 +000022#define FSL_DDR_VER_4_7 47
Prabhakar Kushwaha78512532013-09-03 11:19:54 +053023#define FSL_DDR_VER_5_0 50
York Sun7d69ea32012-10-08 07:44:22 +000024
Kumar Galafe137112011-01-19 03:05:26 -060025/* Number of TLB CAM entries we have on FSL Book-E chips */
26#if defined(CONFIG_E500MC)
27#define CONFIG_SYS_NUM_TLBCAMS 64
28#elif defined(CONFIG_E500)
29#define CONFIG_SYS_NUM_TLBCAMS 16
30#endif
31
32#if defined(CONFIG_MPC8536)
33#define CONFIG_MAX_CPUS 1
34#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +000035#define CONFIG_SYS_PPC_E500_DEBUG_TLB 1
Kumar Galafe137112011-01-19 03:05:26 -060036#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050037#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
York Sun0cc59072013-08-20 15:09:43 -070038#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -060039
Wolfgang Denka4de8352011-02-02 22:36:10 +010040#elif defined(CONFIG_MPC8540)
Kumar Galafe137112011-01-19 03:05:26 -060041#define CONFIG_MAX_CPUS 1
42#define CONFIG_SYS_FSL_NUM_LAWS 8
Timur Tabid8f341c2011-08-04 18:03:41 -050043#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060044
Wolfgang Denka4de8352011-02-02 22:36:10 +010045#elif defined(CONFIG_MPC8541)
Kumar Galafe137112011-01-19 03:05:26 -060046#define CONFIG_MAX_CPUS 1
47#define CONFIG_SYS_FSL_NUM_LAWS 8
48#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050049#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060050
51#elif defined(CONFIG_MPC8544)
52#define CONFIG_MAX_CPUS 1
53#define CONFIG_SYS_FSL_NUM_LAWS 10
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +000054#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
Kumar Galafe137112011-01-19 03:05:26 -060055#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050056#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
York Sun0cc59072013-08-20 15:09:43 -070057#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -060058
59#elif defined(CONFIG_MPC8548)
60#define CONFIG_MAX_CPUS 1
61#define CONFIG_SYS_FSL_NUM_LAWS 10
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +000062#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
Kumar Galafe137112011-01-19 03:05:26 -060063#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050064#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala866c6fa2011-09-16 09:54:30 -050065#define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120
Kumar Galaf3339d62011-10-03 08:37:57 -050066#define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103
chenhui zhaoc8caa8a2011-10-03 08:38:50 -050067#define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129
Liu Gang78deaa12012-03-08 00:33:14 +000068#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
69#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
70#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
71#define CONFIG_SYS_FSL_RMU
72#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
York Sun0cc59072013-08-20 15:09:43 -070073#define CONFIG_SYS_FSL_ERRATUM_A005125
Chunhe Lan92546402013-08-16 15:10:37 +080074#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
75#define CONFIG_SYS_FSL_A004447_SVR_REV 0x00
Kumar Galafe137112011-01-19 03:05:26 -060076
77#elif defined(CONFIG_MPC8555)
78#define CONFIG_MAX_CPUS 1
79#define CONFIG_SYS_FSL_NUM_LAWS 8
80#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050081#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060082
83#elif defined(CONFIG_MPC8560)
84#define CONFIG_MAX_CPUS 1
85#define CONFIG_SYS_FSL_NUM_LAWS 8
Timur Tabid8f341c2011-08-04 18:03:41 -050086#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060087
88#elif defined(CONFIG_MPC8568)
89#define CONFIG_MAX_CPUS 1
90#define CONFIG_SYS_FSL_NUM_LAWS 10
91#define CONFIG_SYS_FSL_SEC_COMPAT 2
Kumar Gala52bd8152011-01-31 23:09:25 -060092#define QE_MURAM_SIZE 0x10000UL
93#define MAX_QE_RISC 2
94#define QE_NUM_OF_SNUM 28
Timur Tabid8f341c2011-08-04 18:03:41 -050095#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Liu Gang78deaa12012-03-08 00:33:14 +000096#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
97#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
98#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
99#define CONFIG_SYS_FSL_RMU
100#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Kumar Galafe137112011-01-19 03:05:26 -0600101
102#elif defined(CONFIG_MPC8569)
103#define CONFIG_MAX_CPUS 1
104#define CONFIG_SYS_FSL_NUM_LAWS 10
105#define CONFIG_SYS_FSL_SEC_COMPAT 2
Kumar Gala52bd8152011-01-31 23:09:25 -0600106#define QE_MURAM_SIZE 0x20000UL
107#define MAX_QE_RISC 4
108#define QE_NUM_OF_SNUM 46
Timur Tabid8f341c2011-08-04 18:03:41 -0500109#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Liu Gang78deaa12012-03-08 00:33:14 +0000110#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
111#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
112#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
113#define CONFIG_SYS_FSL_RMU
114#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
York Sun0cc59072013-08-20 15:09:43 -0700115#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -0600116
117#elif defined(CONFIG_MPC8572)
118#define CONFIG_MAX_CPUS 2
119#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +0000120#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600121#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500122#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
York Sun9aa857b2011-01-25 21:51:27 -0800123#define CONFIG_SYS_FSL_ERRATUM_DDR_115
York Sunc8fc9592011-01-25 22:05:49 -0800124#define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134
York Sun0cc59072013-08-20 15:09:43 -0700125#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -0600126
127#elif defined(CONFIG_P1010)
128#define CONFIG_MAX_CPUS 1
Priyanka Jain02449632011-02-09 09:24:10 +0530129#define CONFIG_FSL_SDHC_V2_3
Kumar Galafe137112011-01-19 03:05:26 -0600130#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000131#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
Kumar Galafe137112011-01-19 03:05:26 -0600132#define CONFIG_TSECV2
133#define CONFIG_SYS_FSL_SEC_COMPAT 4
Poonam Aggrwal7373c592011-02-06 11:31:44 +0530134#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
135#define CONFIG_NUM_DDR_CONTROLLERS 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530136#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Mingkai Hu6f024c92013-05-16 10:18:13 +0800137#define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
Poonam Aggrwal7373c592011-02-06 11:31:44 +0530138#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala179b1b22011-05-20 00:39:21 -0500139#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Ramneek Mehresh3fb68ee2011-03-23 15:20:43 +0530140#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Poonam Aggrwalc7664a42011-06-30 03:00:28 -0500141#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
Poonam Aggrwalaf54a5f2011-06-29 16:32:52 +0530142#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
Shengzhou Liu097be702013-08-15 09:31:47 +0800143#define CONFIG_SYS_FSL_ERRATUM_SEC_A003571
Poonam Aggrwal46b86ca2011-07-07 20:36:47 +0530144#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
York Sun0cc59072013-08-20 15:09:43 -0700145#define CONFIG_SYS_FSL_ERRATUM_A005125
Chunhe Lan92546402013-08-16 15:10:37 +0800146#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
147#define CONFIG_SYS_FSL_A004447_SVR_REV 0x10
Kumar Galafe137112011-01-19 03:05:26 -0600148
Kumar Galae4e69252011-02-05 13:45:07 -0600149/* P1011 is single core version of P1020 */
Kumar Galafe137112011-01-19 03:05:26 -0600150#elif defined(CONFIG_P1011)
151#define CONFIG_MAX_CPUS 1
152#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000153#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600154#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000155#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600156#define CONFIG_SYS_FSL_SEC_COMPAT 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530157#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500158#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600159#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
160#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun0cc59072013-08-20 15:09:43 -0700161#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -0600162
Kumar Galae4e69252011-02-05 13:45:07 -0600163/* P1012 is single core version of P1021 */
Kumar Galafe137112011-01-19 03:05:26 -0600164#elif defined(CONFIG_P1012)
165#define CONFIG_MAX_CPUS 1
166#define CONFIG_SYS_FSL_NUM_LAWS 12
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530167#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000168#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600169#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000170#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600171#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500172#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600173#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
174#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Haiying Wang8cb2af72011-02-11 01:25:30 -0600175#define QE_MURAM_SIZE 0x6000UL
176#define MAX_QE_RISC 1
177#define QE_NUM_OF_SNUM 28
York Sun0cc59072013-08-20 15:09:43 -0700178#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -0600179
Kumar Galae4e69252011-02-05 13:45:07 -0600180/* P1013 is single core version of P1022 */
Kumar Galafe137112011-01-19 03:05:26 -0600181#elif defined(CONFIG_P1013)
182#define CONFIG_MAX_CPUS 1
183#define CONFIG_SYS_FSL_NUM_LAWS 12
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530184#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000185#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600186#define CONFIG_TSECV2
187#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500188#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Jiang Yutang7cd05902011-01-30 17:06:20 -0600189#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
190#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
191#define CONFIG_FSL_SATA_ERRATUM_A001
York Sun0cc59072013-08-20 15:09:43 -0700192#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -0600193
194#elif defined(CONFIG_P1014)
195#define CONFIG_MAX_CPUS 1
Priyanka Jain02449632011-02-09 09:24:10 +0530196#define CONFIG_FSL_SDHC_V2_3
Kumar Galafe137112011-01-19 03:05:26 -0600197#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000198#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
Kumar Galafe137112011-01-19 03:05:26 -0600199#define CONFIG_TSECV2
200#define CONFIG_SYS_FSL_SEC_COMPAT 4
Poonam Aggrwal7373c592011-02-06 11:31:44 +0530201#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
202#define CONFIG_NUM_DDR_CONTROLLERS 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530203#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Poonam Aggrwal7373c592011-02-06 11:31:44 +0530204#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Ramneek Mehresh3fb68ee2011-03-23 15:20:43 +0530205#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Poonam Aggrwalc7664a42011-06-30 03:00:28 -0500206#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
Poonam Aggrwalaf54a5f2011-06-29 16:32:52 +0530207#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
Poonam Aggrwal46b86ca2011-07-07 20:36:47 +0530208#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
Kumar Galafe137112011-01-19 03:05:26 -0600209
Kumar Galae4e69252011-02-05 13:45:07 -0600210/* P1017 is single core version of P1023 */
Roy Zang1de20b02011-02-03 22:14:19 -0600211#elif defined(CONFIG_P1017)
212#define CONFIG_MAX_CPUS 1
213#define CONFIG_SYS_FSL_NUM_LAWS 12
214#define CONFIG_SYS_FSL_SEC_COMPAT 4
215#define CONFIG_SYS_NUM_FMAN 1
216#define CONFIG_SYS_NUM_FM1_DTSEC 2
217#define CONFIG_NUM_DDR_CONTROLLERS 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530218#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Roy Zang1de20b02011-02-03 22:14:19 -0600219#define CONFIG_SYS_QMAN_NUM_PORTALS 3
220#define CONFIG_SYS_BMAN_NUM_PORTALS 3
Kumar Galad80dfe42011-02-04 00:43:34 -0600221#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
Kumar Gala179b1b22011-05-20 00:39:21 -0500222#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500223#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
York Sun0cc59072013-08-20 15:09:43 -0700224#define CONFIG_SYS_FSL_ERRATUM_A005125
Roy Zang1de20b02011-02-03 22:14:19 -0600225
Kumar Galafe137112011-01-19 03:05:26 -0600226#elif defined(CONFIG_P1020)
227#define CONFIG_MAX_CPUS 2
228#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000229#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600230#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000231#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600232#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500233#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600234#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
235#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun0cc59072013-08-20 15:09:43 -0700236#define CONFIG_SYS_FSL_ERRATUM_A005125
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530237#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Kumar Galafe137112011-01-19 03:05:26 -0600238
239#elif defined(CONFIG_P1021)
240#define CONFIG_MAX_CPUS 2
241#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000242#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600243#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000244#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600245#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500246#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600247#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
248#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Haiying Wang8cb2af72011-02-11 01:25:30 -0600249#define QE_MURAM_SIZE 0x6000UL
250#define MAX_QE_RISC 1
251#define QE_NUM_OF_SNUM 28
York Sun0cc59072013-08-20 15:09:43 -0700252#define CONFIG_SYS_FSL_ERRATUM_A005125
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530253#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Kumar Galafe137112011-01-19 03:05:26 -0600254
255#elif defined(CONFIG_P1022)
256#define CONFIG_MAX_CPUS 2
257#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000258#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600259#define CONFIG_TSECV2
260#define CONFIG_SYS_FSL_SEC_COMPAT 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530261#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500262#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Jiang Yutang7cd05902011-01-30 17:06:20 -0600263#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
264#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
265#define CONFIG_FSL_SATA_ERRATUM_A001
York Sun0cc59072013-08-20 15:09:43 -0700266#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -0600267
Roy Zang1de20b02011-02-03 22:14:19 -0600268#elif defined(CONFIG_P1023)
269#define CONFIG_MAX_CPUS 2
270#define CONFIG_SYS_FSL_NUM_LAWS 12
271#define CONFIG_SYS_FSL_SEC_COMPAT 4
272#define CONFIG_SYS_NUM_FMAN 1
273#define CONFIG_SYS_NUM_FM1_DTSEC 2
274#define CONFIG_NUM_DDR_CONTROLLERS 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530275#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Roy Zang1de20b02011-02-03 22:14:19 -0600276#define CONFIG_SYS_QMAN_NUM_PORTALS 3
277#define CONFIG_SYS_BMAN_NUM_PORTALS 3
Kumar Galad80dfe42011-02-04 00:43:34 -0600278#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
Kumar Gala179b1b22011-05-20 00:39:21 -0500279#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500280#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
York Sun0cc59072013-08-20 15:09:43 -0700281#define CONFIG_SYS_FSL_ERRATUM_A005125
Chunhe Lan92546402013-08-16 15:10:37 +0800282#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
283#define CONFIG_SYS_FSL_A004447_SVR_REV 0x11
Roy Zang1de20b02011-02-03 22:14:19 -0600284
Kumar Galae4e69252011-02-05 13:45:07 -0600285/* P1024 is lower end variant of P1020 */
286#elif defined(CONFIG_P1024)
287#define CONFIG_MAX_CPUS 2
288#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000289#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galae4e69252011-02-05 13:45:07 -0600290#define CONFIG_TSECV2
291#define CONFIG_FSL_PCIE_DISABLE_ASPM
292#define CONFIG_SYS_FSL_SEC_COMPAT 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530293#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500294#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600295#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
296#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun0cc59072013-08-20 15:09:43 -0700297#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galae4e69252011-02-05 13:45:07 -0600298
299/* P1025 is lower end variant of P1021 */
300#elif defined(CONFIG_P1025)
301#define CONFIG_MAX_CPUS 2
302#define CONFIG_SYS_FSL_NUM_LAWS 12
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530303#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000304#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galae4e69252011-02-05 13:45:07 -0600305#define CONFIG_TSECV2
306#define CONFIG_FSL_PCIE_DISABLE_ASPM
307#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500308#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600309#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
310#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Haiying Wang8cb2af72011-02-11 01:25:30 -0600311#define QE_MURAM_SIZE 0x6000UL
312#define MAX_QE_RISC 1
313#define QE_NUM_OF_SNUM 28
York Sun0cc59072013-08-20 15:09:43 -0700314#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galae4e69252011-02-05 13:45:07 -0600315
316/* P2010 is single core version of P2020 */
Kumar Galafe137112011-01-19 03:05:26 -0600317#elif defined(CONFIG_P2010)
318#define CONFIG_MAX_CPUS 1
319#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000320#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600321#define CONFIG_SYS_FSL_SEC_COMPAT 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530322#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Timur Tabid8f341c2011-08-04 18:03:41 -0500323#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala7b5b4802011-01-26 01:43:15 -0600324#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Kumar Gala9a878d52011-01-29 15:36:10 -0600325#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
York Sun0cc59072013-08-20 15:09:43 -0700326#define CONFIG_SYS_FSL_ERRATUM_A005125
Kumar Galafe137112011-01-19 03:05:26 -0600327
328#elif defined(CONFIG_P2020)
329#define CONFIG_MAX_CPUS 2
330#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000331#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600332#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500333#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala7b5b4802011-01-26 01:43:15 -0600334#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Kumar Gala9a878d52011-01-29 15:36:10 -0600335#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
Liu Gang78deaa12012-03-08 00:33:14 +0000336#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
337#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
338#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
339#define CONFIG_SYS_FSL_RMU
340#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
York Sun0cc59072013-08-20 15:09:43 -0700341#define CONFIG_SYS_FSL_ERRATUM_A005125
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530342#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Scott Wooda1ef48c2012-08-14 10:14:51 +0000343#elif defined(CONFIG_PPC_P2041) /* also supports P2040 */
York Sun7e0edbd2012-10-08 07:44:15 +0000344#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
York Sun544f8812013-06-25 11:37:39 -0700345#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
Kumar Galafe137112011-01-19 03:05:26 -0600346#define CONFIG_MAX_CPUS 4
Kumar Gala3842bb52011-02-16 02:03:29 -0600347#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
Kumar Galafe137112011-01-19 03:05:26 -0600348#define CONFIG_SYS_FSL_NUM_LAWS 32
349#define CONFIG_SYS_FSL_SEC_COMPAT 4
Kumar Gala619541b2011-05-13 01:16:07 -0500350#define CONFIG_SYS_NUM_FMAN 1
351#define CONFIG_SYS_NUM_FM1_DTSEC 5
352#define CONFIG_SYS_NUM_FM1_10GEC 1
353#define CONFIG_NUM_DDR_CONTROLLERS 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530354#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Kumar Gala619541b2011-05-13 01:16:07 -0500355#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
356#define CONFIG_SYS_FSL_TBCLK_DIV 32
357#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500358#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Kumar Gala619541b2011-05-13 01:16:07 -0500359#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
360#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -0500361#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Kumar Gala619541b2011-05-13 01:16:07 -0500362#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun9ed88112012-05-07 07:26:47 +0000363#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
Xuleicf4f4932013-03-11 17:56:34 +0000364#define CONFIG_SYS_FSL_ERRATUM_USB14
Kumar Gala945e59a2011-11-22 06:51:15 -0600365#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
York Sun52db64b2013-03-25 07:30:11 +0000366#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
York Sundf2be192011-11-20 10:01:35 -0800367#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000368#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
369#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
370#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +0000371#define CONFIG_SYS_FSL_ERRATUM_A004510
372#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
373#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
374#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
Liu Gang712b6622012-09-28 21:26:19 +0000375#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Timur Tabie3ab8c12012-10-25 12:40:00 +0000376#define CONFIG_SYS_FSL_ERRATUM_A004849
Chunhe Lan92546402013-08-16 15:10:37 +0800377#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
378#define CONFIG_SYS_FSL_A004447_SVR_REV 0x11
Kumar Gala619541b2011-05-13 01:16:07 -0500379
Kumar Galafe137112011-01-19 03:05:26 -0600380#elif defined(CONFIG_PPC_P3041)
York Sun7e0edbd2012-10-08 07:44:15 +0000381#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
York Sun544f8812013-06-25 11:37:39 -0700382#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
Kumar Galafe137112011-01-19 03:05:26 -0600383#define CONFIG_MAX_CPUS 4
Kumar Gala3842bb52011-02-16 02:03:29 -0600384#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
Kumar Galafe137112011-01-19 03:05:26 -0600385#define CONFIG_SYS_FSL_NUM_LAWS 32
386#define CONFIG_SYS_FSL_SEC_COMPAT 4
Kumar Gala60d95d82011-01-25 12:42:32 -0600387#define CONFIG_SYS_NUM_FMAN 1
388#define CONFIG_SYS_NUM_FM1_DTSEC 5
389#define CONFIG_SYS_NUM_FM1_10GEC 1
390#define CONFIG_NUM_DDR_CONTROLLERS 1
Kumar Galad80dfe42011-02-04 00:43:34 -0600391#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -0600392#define CONFIG_SYS_FSL_TBCLK_DIV 32
Kumar Gala179b1b22011-05-20 00:39:21 -0500393#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500394#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Roy Zang6d6a0e12011-04-13 00:08:51 -0500395#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
396#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -0500397#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530398#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Lei Xu32276202011-04-19 15:28:41 +0800399#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun53155532012-08-08 18:04:53 +0000400#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
Xuleicf4f4932013-03-11 17:56:34 +0000401#define CONFIG_SYS_FSL_ERRATUM_USB14
Kumar Gala945e59a2011-11-22 06:51:15 -0600402#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
York Sun52db64b2013-03-25 07:30:11 +0000403#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
York Sundf2be192011-11-20 10:01:35 -0800404#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000405#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
406#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
407#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +0000408#define CONFIG_SYS_FSL_ERRATUM_A004510
409#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
410#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
411#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
Liu Gang712b6622012-09-28 21:26:19 +0000412#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Timur Tabie3ab8c12012-10-25 12:40:00 +0000413#define CONFIG_SYS_FSL_ERRATUM_A004849
York Suncca41c52013-06-25 11:37:49 -0700414#define CONFIG_SYS_FSL_ERRATUM_A005812
Chunhe Lan92546402013-08-16 15:10:37 +0800415#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
416#define CONFIG_SYS_FSL_A004447_SVR_REV 0x20
Kumar Galafe137112011-01-19 03:05:26 -0600417
Scott Wooda1ef48c2012-08-14 10:14:51 +0000418#elif defined(CONFIG_PPC_P4080) /* also supports P4040 */
York Sun7e0edbd2012-10-08 07:44:15 +0000419#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
York Sun544f8812013-06-25 11:37:39 -0700420#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
Kumar Galafe137112011-01-19 03:05:26 -0600421#define CONFIG_MAX_CPUS 8
Kumar Gala3842bb52011-02-16 02:03:29 -0600422#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
Kumar Galafe137112011-01-19 03:05:26 -0600423#define CONFIG_SYS_FSL_NUM_LAWS 32
424#define CONFIG_SYS_FSL_SEC_COMPAT 4
425#define CONFIG_SYS_NUM_FMAN 2
426#define CONFIG_SYS_NUM_FM1_DTSEC 4
427#define CONFIG_SYS_NUM_FM2_DTSEC 4
428#define CONFIG_SYS_NUM_FM1_10GEC 1
429#define CONFIG_SYS_NUM_FM2_10GEC 1
430#define CONFIG_NUM_DDR_CONTROLLERS 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530431#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Kumar Galad80dfe42011-02-04 00:43:34 -0600432#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -0600433#define CONFIG_SYS_FSL_TBCLK_DIV 16
Kumar Gala179b1b22011-05-20 00:39:21 -0500434#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie"
Timur Tabid8f341c2011-08-04 18:03:41 -0500435#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Kumar Galafe137112011-01-19 03:05:26 -0600436#define CONFIG_SYS_FSL_ERRATUM_CPC_A002
437#define CONFIG_SYS_FSL_ERRATUM_CPC_A003
York Sun922f40f2011-01-10 12:03:01 +0000438#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
Kumar Galafe137112011-01-19 03:05:26 -0600439#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
440#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
441#define CONFIG_SYS_FSL_ERRATUM_ESDHC135
Zang Roy-R6191183659922012-09-18 09:50:08 +0000442#define CONFIG_SYS_FSL_ERRATUM_ESDHC13
Kumar Galafe137112011-01-19 03:05:26 -0600443#define CONFIG_SYS_P4080_ERRATUM_CPU22
York Sun9ed88112012-05-07 07:26:47 +0000444#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
Kumar Galafe137112011-01-19 03:05:26 -0600445#define CONFIG_SYS_P4080_ERRATUM_SERDES8
Emil Medveb01c81f2010-08-31 22:57:38 -0500446#define CONFIG_SYS_P4080_ERRATUM_SERDES9
Timur Tabi6a62dc42011-04-18 17:16:00 -0500447#define CONFIG_SYS_P4080_ERRATUM_SERDES_A001
Timur Tabi90f381d2011-04-01 13:19:36 -0500448#define CONFIG_SYS_P4080_ERRATUM_SERDES_A005
Kumar Gala945e59a2011-11-22 06:51:15 -0600449#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
York Sundf2be192011-11-20 10:01:35 -0800450#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000451#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
452#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
453#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
454#define CONFIG_SYS_FSL_RMU
455#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Scott Wood80806962012-08-14 10:14:53 +0000456#define CONFIG_SYS_FSL_ERRATUM_A004510
457#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x20
458#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000
Liu Gang712b6622012-09-28 21:26:19 +0000459#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Timur Tabie3ab8c12012-10-25 12:40:00 +0000460#define CONFIG_SYS_FSL_ERRATUM_A004849
Timur Tabic5355dd2012-11-01 08:20:23 +0000461#define CONFIG_SYS_FSL_ERRATUM_A004580
Yuanquan Chenc48234e2012-11-26 23:49:45 +0000462#define CONFIG_SYS_P4080_ERRATUM_PCIE_A003
York Suncca41c52013-06-25 11:37:49 -0700463#define CONFIG_SYS_FSL_ERRATUM_A005812
Chunhe Lan92546402013-08-16 15:10:37 +0800464#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
465#define CONFIG_SYS_FSL_A004447_SVR_REV 0x20
Kumar Galafe137112011-01-19 03:05:26 -0600466
Scott Wooda1ef48c2012-08-14 10:14:51 +0000467#elif defined(CONFIG_PPC_P5020) /* also supports P5010 */
York Sun2394a0f2012-10-08 07:44:30 +0000468#define CONFIG_SYS_PPC64 /* 64-bit core */
York Sun7e0edbd2012-10-08 07:44:15 +0000469#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
York Sun544f8812013-06-25 11:37:39 -0700470#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
Kumar Galafe137112011-01-19 03:05:26 -0600471#define CONFIG_MAX_CPUS 2
Kumar Gala3842bb52011-02-16 02:03:29 -0600472#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
Kumar Galafe137112011-01-19 03:05:26 -0600473#define CONFIG_SYS_FSL_NUM_LAWS 32
474#define CONFIG_SYS_FSL_SEC_COMPAT 4
Kumar Gala60d95d82011-01-25 12:42:32 -0600475#define CONFIG_SYS_NUM_FMAN 1
476#define CONFIG_SYS_NUM_FM1_DTSEC 5
477#define CONFIG_SYS_NUM_FM1_10GEC 1
478#define CONFIG_NUM_DDR_CONTROLLERS 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530479#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Kumar Galad80dfe42011-02-04 00:43:34 -0600480#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -0600481#define CONFIG_SYS_FSL_TBCLK_DIV 32
Kumar Gala179b1b22011-05-20 00:39:21 -0500482#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500483#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Roy Zang6d6a0e12011-04-13 00:08:51 -0500484#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
485#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -0500486#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Lei Xu32276202011-04-19 15:28:41 +0800487#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Xuleicf4f4932013-03-11 17:56:34 +0000488#define CONFIG_SYS_FSL_ERRATUM_USB14
York Sun52db64b2013-03-25 07:30:11 +0000489#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
York Sundf2be192011-11-20 10:01:35 -0800490#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000491#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
492#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
493#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +0000494#define CONFIG_SYS_FSL_ERRATUM_A004510
495#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
496#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xc0000000
Liu Gang712b6622012-09-28 21:26:19 +0000497#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Chunhe Lan92546402013-08-16 15:10:37 +0800498#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
499#define CONFIG_SYS_FSL_A004447_SVR_REV 0x20
Kumar Galafe137112011-01-19 03:05:26 -0600500
Timur Tabid5e13882012-10-05 11:09:19 +0000501#elif defined(CONFIG_PPC_P5040)
Timur Tabi9a7b5a32012-10-23 10:48:09 +0000502#define CONFIG_SYS_PPC64
Timur Tabid5e13882012-10-05 11:09:19 +0000503#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
York Sun544f8812013-06-25 11:37:39 -0700504#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
Timur Tabid5e13882012-10-05 11:09:19 +0000505#define CONFIG_MAX_CPUS 4
506#define CONFIG_SYS_FSL_NUM_CC_PLLS 3
507#define CONFIG_SYS_FSL_NUM_LAWS 32
508#define CONFIG_SYS_FSL_SEC_COMPAT 4
509#define CONFIG_SYS_NUM_FMAN 2
510#define CONFIG_SYS_NUM_FM1_DTSEC 5
511#define CONFIG_SYS_NUM_FM1_10GEC 1
512#define CONFIG_SYS_NUM_FM2_DTSEC 5
513#define CONFIG_SYS_NUM_FM2_10GEC 1
514#define CONFIG_NUM_DDR_CONTROLLERS 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530515#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Timur Tabid5e13882012-10-05 11:09:19 +0000516#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
517#define CONFIG_SYS_FSL_TBCLK_DIV 16
518#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
519#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
520#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
521#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
522#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
523#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Xuleicf4f4932013-03-11 17:56:34 +0000524#define CONFIG_SYS_FSL_ERRATUM_USB14
Timur Tabid5e13882012-10-05 11:09:19 +0000525#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
526#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
527#define CONFIG_SYS_FSL_ERRATUM_A004699
Timur Tabid5e13882012-10-05 11:09:19 +0000528#define CONFIG_SYS_FSL_ERRATUM_A004510
529#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
530#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
York Suncca41c52013-06-25 11:37:49 -0700531#define CONFIG_SYS_FSL_ERRATUM_A005812
Timur Tabid5e13882012-10-05 11:09:19 +0000532
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000533#elif defined(CONFIG_BSC9131)
534#define CONFIG_MAX_CPUS 1
535#define CONFIG_FSL_SDHC_V2_3
536#define CONFIG_SYS_FSL_NUM_LAWS 12
537#define CONFIG_TSECV2
538#define CONFIG_SYS_FSL_SEC_COMPAT 4
539#define CONFIG_NUM_DDR_CONTROLLERS 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530540#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Priyanka Jainf81e8b22013-04-04 09:31:54 +0530541#define CONFIG_SYS_FSL_DSP_M2_RAM_ADDR 0xb0000000
542#define CONFIG_SYS_FSL_DSP_CCSRBAR_DEFAULT 0xff600000
Mingkai Hu6f024c92013-05-16 10:18:13 +0800543#define CONFIG_SYS_FSL_IFC_BANK_COUNT 3
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000544#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
545#define CONFIG_NAND_FSL_IFC
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000546#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun0cc59072013-08-20 15:09:43 -0700547#define CONFIG_SYS_FSL_ERRATUM_A005125
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000548
Prabhakar Kushwaha92543c22013-01-23 17:59:57 +0000549#elif defined(CONFIG_BSC9132)
550#define CONFIG_MAX_CPUS 2
551#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
552#define CONFIG_FSL_SDHC_V2_3
553#define CONFIG_SYS_FSL_NUM_LAWS 12
554#define CONFIG_TSECV2
555#define CONFIG_SYS_FSL_SEC_COMPAT 4
556#define CONFIG_NUM_DDR_CONTROLLERS 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530557#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Priyanka Jainc73b9032013-07-02 09:21:04 +0530558#define CONFIG_SYS_FSL_DSP_DDR_ADDR 0x40000000
559#define CONFIG_SYS_FSL_DSP_M2_RAM_ADDR 0xb0000000
560#define CONFIG_SYS_FSL_DSP_M3_RAM_ADDR 0xc0000000
561#define CONFIG_SYS_FSL_DSP_CCSRBAR_DEFAULT 0xff600000
York Sun84fa67e2013-04-18 19:31:01 -0700562#define CONFIG_SYS_FSL_IFC_BANK_COUNT 3
Prabhakar Kushwaha92543c22013-01-23 17:59:57 +0000563#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
564#define CONFIG_NAND_FSL_IFC
Prabhakar Kushwaha92543c22013-01-23 17:59:57 +0000565#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
566#define CONFIG_SYS_FSL_ESDHC_P1010_BROKEN_SDCLK
567#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
York Sun0cc59072013-08-20 15:09:43 -0700568#define CONFIG_SYS_FSL_ERRATUM_A005125
Chunhe Lan92546402013-08-16 15:10:37 +0800569#define CONFIG_SYS_FSL_ERRATUM_I2C_A004447
570#define CONFIG_SYS_FSL_A004447_SVR_REV 0x11
Prabhakar Kushwaha92543c22013-01-23 17:59:57 +0000571
York Sun64fd08b2013-03-25 07:40:05 +0000572#elif defined(CONFIG_PPC_T4240) || defined(CONFIG_PPC_T4160)
573#define CONFIG_E6500
York Sun2394a0f2012-10-08 07:44:30 +0000574#define CONFIG_SYS_PPC64 /* 64-bit core */
York Sun9941a222012-10-08 07:44:19 +0000575#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
576#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
York Sunaa150bb2013-03-25 07:40:07 +0000577#define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4
York Sun9941a222012-10-08 07:44:19 +0000578#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
York Sun64fd08b2013-03-25 07:40:05 +0000579#ifdef CONFIG_PPC_T4240
York Sun9941a222012-10-08 07:44:19 +0000580#define CONFIG_MAX_CPUS 12
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530581#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 4 }
York Sun9941a222012-10-08 07:44:19 +0000582#define CONFIG_SYS_NUM_FM1_DTSEC 8
583#define CONFIG_SYS_NUM_FM1_10GEC 2
584#define CONFIG_SYS_NUM_FM2_DTSEC 8
585#define CONFIG_SYS_NUM_FM2_10GEC 2
586#define CONFIG_NUM_DDR_CONTROLLERS 3
York Sun64fd08b2013-03-25 07:40:05 +0000587#else
York Sunfb5137a2013-03-25 07:33:29 +0000588#define CONFIG_MAX_CPUS 8
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530589#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1 }
York Sun64fd08b2013-03-25 07:40:05 +0000590#define CONFIG_SYS_NUM_FM1_DTSEC 7
591#define CONFIG_SYS_NUM_FM1_10GEC 1
592#define CONFIG_SYS_NUM_FM2_DTSEC 7
593#define CONFIG_SYS_NUM_FM2_10GEC 1
594#define CONFIG_NUM_DDR_CONTROLLERS 2
595#endif
York Sunfb5137a2013-03-25 07:33:29 +0000596#define CONFIG_SYS_FSL_NUM_CC_PLLS 5
597#define CONFIG_SYS_FSL_NUM_LAWS 32
Prabhakar Kushwaha873e9f02013-07-31 16:56:41 +0530598#define CONFIG_SYS_FSL_SRDS_1
599#define CONFIG_SYS_FSL_SRDS_2
York Sunfb5137a2013-03-25 07:33:29 +0000600#define CONFIG_SYS_FSL_SRDS_3
601#define CONFIG_SYS_FSL_SRDS_4
602#define CONFIG_SYS_FSL_SEC_COMPAT 4
603#define CONFIG_SYS_NUM_FMAN 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530604#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530605#define CONFIG_SYS_PME_CLK 0
York Sunfb5137a2013-03-25 07:33:29 +0000606#define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
Mingkai Hu6f024c92013-05-16 10:18:13 +0800607#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
York Sunfb5137a2013-03-25 07:33:29 +0000608#define CONFIG_SYS_FMAN_V3
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530609#define CONFIG_SYS_FM1_CLK 3
610#define CONFIG_SYS_FM2_CLK 3
York Sunfb5137a2013-03-25 07:33:29 +0000611#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
612#define CONFIG_SYS_FSL_TBCLK_DIV 16
613#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0"
614#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
615#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
616#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Liu Gangd5eca7e2013-06-25 18:12:14 +0800617#define CONFIG_SYS_FSL_SRIO_LIODN
York Sunfb5137a2013-03-25 07:33:29 +0000618#define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE
619#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
620#define CONFIG_SYS_FSL_ERRATUM_A004468
621#define CONFIG_SYS_FSL_ERRATUM_A_004934
622#define CONFIG_SYS_FSL_ERRATUM_A005871
York Sunb1954252013-09-16 12:49:31 -0700623#define CONFIG_SYS_FSL_ERRATUM_A006379
Scott Wood3f4a5c42013-05-15 17:50:13 -0500624#define CONFIG_SYS_FSL_ERRATUM_A006593
York Sunfb5137a2013-03-25 07:33:29 +0000625#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
626#define CONFIG_SYS_FSL_PCI_VER_3_X
627
Poonam Aggrwal525ab512013-03-25 07:40:20 +0000628#elif defined(CONFIG_PPC_B4860) || defined(CONFIG_PPC_B4420)
629#define CONFIG_E6500
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000630#define CONFIG_SYS_PPC64 /* 64-bit core */
631#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
632#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
633#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000634#define CONFIG_SYS_FSL_NUM_LAWS 32
Prabhakar Kushwaha873e9f02013-07-31 16:56:41 +0530635#define CONFIG_SYS_FSL_SRDS_1
636#define CONFIG_SYS_FSL_SRDS_2
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000637#define CONFIG_SYS_FSL_SEC_COMPAT 4
638#define CONFIG_SYS_NUM_FMAN 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530639#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530640#define CONFIG_SYS_FM1_CLK 0
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000641#define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
Mingkai Hu6f024c92013-05-16 10:18:13 +0800642#define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000643#define CONFIG_SYS_FMAN_V3
644#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
645#define CONFIG_SYS_FSL_TBCLK_DIV 16
646#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
647#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
648#define CONFIG_SYS_FSL_ERRATUM_A_004934
Shengzhou Liu5d9606e2013-02-27 21:56:54 +0000649#define CONFIG_SYS_FSL_ERRATUM_A005871
York Sunb1954252013-09-16 12:49:31 -0700650#define CONFIG_SYS_FSL_ERRATUM_A006379
Scott Wood3f4a5c42013-05-15 17:50:13 -0500651#define CONFIG_SYS_FSL_ERRATUM_A006593
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000652#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
653
Poonam Aggrwal525ab512013-03-25 07:40:20 +0000654#ifdef CONFIG_PPC_B4860
York Sunaa150bb2013-03-25 07:40:07 +0000655#define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4
York Sunbcf7b3d2012-10-08 07:44:20 +0000656#define CONFIG_MAX_CPUS 4
657#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530658#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 }
York Sunbcf7b3d2012-10-08 07:44:20 +0000659#define CONFIG_SYS_NUM_FM1_DTSEC 6
660#define CONFIG_SYS_NUM_FM1_10GEC 2
Poonam Aggrwal1c859552012-12-23 19:22:33 +0000661#define CONFIG_NUM_DDR_CONTROLLERS 2
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530662#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
York Sunbcf7b3d2012-10-08 07:44:20 +0000663#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
664#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
665#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Liu Gangbc6486a2013-06-25 18:12:13 +0800666#define CONFIG_SYS_FSL_SRIO_LIODN
Poonam Aggrwal525ab512013-03-25 07:40:20 +0000667#else
668#define CONFIG_MAX_CPUS 2
669#define CONFIG_SYS_FSL_CORES_PER_CLUSTER 2
670#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530671#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4 }
Poonam Aggrwal525ab512013-03-25 07:40:20 +0000672#define CONFIG_SYS_NUM_FM1_DTSEC 4
673#define CONFIG_SYS_NUM_FM1_10GEC 0
674#define CONFIG_NUM_DDR_CONTROLLERS 1
675#endif
York Sunbcf7b3d2012-10-08 07:44:20 +0000676
York Sun46571362013-03-25 07:40:06 +0000677#elif defined(CONFIG_PPC_T1040)
678#define CONFIG_E5500
679#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
680#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
York Sunaa150bb2013-03-25 07:40:07 +0000681#define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1
York Sun46571362013-03-25 07:40:06 +0000682#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530683#if defined(CONFIG_PPC_T1040) || defined(CONFIG_PPC_T1042)
York Sun46571362013-03-25 07:40:06 +0000684#define CONFIG_MAX_CPUS 4
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530685#elif defined(CONFIG_PPC_T1020) || defined(CONFIG_PPC_T1022)
686#define CONFIG_MAX_CPUS 2
687#endif
688#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530689#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 }
690#define CONFIG_SYS_SDHC_CLOCK 0
York Sun46571362013-03-25 07:40:06 +0000691#define CONFIG_SYS_FSL_NUM_LAWS 16
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530692#define CONFIG_SYS_FSL_SRDS_1
693#define CONFIG_SYS_FSL_SEC_COMPAT 5
York Sun46571362013-03-25 07:40:06 +0000694#define CONFIG_SYS_NUM_FMAN 1
695#define CONFIG_SYS_NUM_FM1_DTSEC 5
696#define CONFIG_NUM_DDR_CONTROLLERS 1
ramneek mehreshd04f8fe2013-10-18 17:40:17 +0530697#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530698#define CONFIG_PME_PLAT_CLK_DIV 2
699#define CONFIG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530700#define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_5_0
701#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
York Sun46571362013-03-25 07:40:06 +0000702#define CONFIG_SYS_FMAN_V3
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530703#define CONFIG_FM_PLAT_CLK_DIV 1
704#define CONFIG_SYS_FM1_CLK CONFIG_FM_PLAT_CLK_DIV
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530705#define CONFIG_SYS_FM_MURAM_SIZE 0x30000
York Sun46571362013-03-25 07:40:06 +0000706#define CONFIG_SYS_FSL_TBCLK_DIV 32
707#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
York Sun46571362013-03-25 07:40:06 +0000708#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
709#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
710#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
711#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
712
Mingkai Hu1a258072013-07-04 17:30:36 +0800713#elif defined(CONFIG_PPC_C29X)
714#define CONFIG_MAX_CPUS 1
715#define CONFIG_FSL_SDHC_V2_3
716#define CONFIG_SYS_FSL_NUM_LAWS 12
717#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
718#define CONFIG_TSECV2_1
719#define CONFIG_SYS_FSL_SEC_COMPAT 6
720#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
721#define CONFIG_NUM_DDR_CONTROLLERS 1
722#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
723#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
York Sun0cc59072013-08-20 15:09:43 -0700724#define CONFIG_SYS_FSL_ERRATUM_A005125
Mingkai Hu1a258072013-07-04 17:30:36 +0800725
Kumar Galafe137112011-01-19 03:05:26 -0600726#else
727#error Processor type not defined for this platform
728#endif
729
Timur Tabid8f341c2011-08-04 18:03:41 -0500730#ifndef CONFIG_SYS_CCSRBAR_DEFAULT
731#error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform."
732#endif
733
York Sunaa150bb2013-03-25 07:40:07 +0000734#ifdef CONFIG_E6500
735#define CONFIG_SYS_FSL_THREADS_PER_CORE 2
736#else
737#define CONFIG_SYS_FSL_THREADS_PER_CORE 1
738#endif
739
Kumar Galafe137112011-01-19 03:05:26 -0600740#endif /* _ASM_MPC85xx_CONFIG_H_ */