mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 02:20:25 +00:00
c0a4e6b889
Due to SerDes configuration error, if we set the PCI-e controller link width as x8 in RCW and add a narrower width(such as x4, x2 or x1) PCI-e device to PCI-e slot, it fails to train down to the PCI-e device's link width. According to p4080ds errata PCIe-A003, we reset the PCI-e controller link width to x4 in u-boot. Then it can train down to x2 or x1 width to make the PCI-e link between RC and EP. Signed-off-by: Yuanquan Chen <B41889@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
561 lines
19 KiB
C
561 lines
19 KiB
C
/*
|
|
* Copyright 2011-2012 Freescale Semiconductor, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of
|
|
* the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
*/
|
|
|
|
#ifndef _ASM_MPC85xx_CONFIG_H_
|
|
#define _ASM_MPC85xx_CONFIG_H_
|
|
|
|
/* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */
|
|
|
|
#ifdef CONFIG_SYS_CCSRBAR_DEFAULT
|
|
#error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file."
|
|
#endif
|
|
|
|
/*
|
|
* This macro should be removed when we no longer care about backwards
|
|
* compatibility with older operating systems.
|
|
*/
|
|
#define CONFIG_PPC_SPINTABLE_COMPATIBLE
|
|
|
|
#define FSL_DDR_VER_4_7 47
|
|
|
|
/* Number of TLB CAM entries we have on FSL Book-E chips */
|
|
#if defined(CONFIG_E500MC)
|
|
#define CONFIG_SYS_NUM_TLBCAMS 64
|
|
#elif defined(CONFIG_E500)
|
|
#define CONFIG_SYS_NUM_TLBCAMS 16
|
|
#endif
|
|
|
|
#if defined(CONFIG_MPC8536)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 1
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
|
|
#elif defined(CONFIG_MPC8540)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
|
|
#elif defined(CONFIG_MPC8541)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
|
|
#elif defined(CONFIG_MPC8544)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
|
|
#elif defined(CONFIG_MPC8548)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_RMU
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
|
|
|
#elif defined(CONFIG_MPC8555)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
|
|
#elif defined(CONFIG_MPC8560)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
|
|
#elif defined(CONFIG_MPC8568)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define QE_MURAM_SIZE 0x10000UL
|
|
#define MAX_QE_RISC 2
|
|
#define QE_NUM_OF_SNUM 28
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_RMU
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
|
|
|
#elif defined(CONFIG_MPC8569)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define QE_MURAM_SIZE 0x20000UL
|
|
#define MAX_QE_RISC 4
|
|
#define QE_NUM_OF_SNUM 46
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_RMU
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
|
|
|
#elif defined(CONFIG_MPC8572)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_115
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134
|
|
|
|
#elif defined(CONFIG_P1010)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_FSL_SDHC_V2_3
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
|
|
#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
|
|
|
|
/* P1011 is single core version of P1020 */
|
|
#elif defined(CONFIG_P1011)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
/* P1012 is single core version of P1021 */
|
|
#elif defined(CONFIG_P1012)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define QE_MURAM_SIZE 0x6000UL
|
|
#define MAX_QE_RISC 1
|
|
#define QE_NUM_OF_SNUM 28
|
|
|
|
/* P1013 is single core version of P1022 */
|
|
#elif defined(CONFIG_P1013)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_FSL_SATA_ERRATUM_A001
|
|
|
|
#elif defined(CONFIG_P1014)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_FSL_SDHC_V2_3
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
|
|
#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
|
|
|
|
/* P1017 is single core version of P1023 */
|
|
#elif defined(CONFIG_P1017)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 2
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_QMAN_NUM_PORTALS 3
|
|
#define CONFIG_SYS_BMAN_NUM_PORTALS 3
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
|
|
|
|
#elif defined(CONFIG_P1020)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
#elif defined(CONFIG_P1021)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define QE_MURAM_SIZE 0x6000UL
|
|
#define MAX_QE_RISC 1
|
|
#define QE_NUM_OF_SNUM 28
|
|
|
|
#elif defined(CONFIG_P1022)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_FSL_SATA_ERRATUM_A001
|
|
|
|
#elif defined(CONFIG_P1023)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 2
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_QMAN_NUM_PORTALS 3
|
|
#define CONFIG_SYS_BMAN_NUM_PORTALS 3
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
|
|
|
|
/* P1024 is lower end variant of P1020 */
|
|
#elif defined(CONFIG_P1024)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
/* P1025 is lower end variant of P1021 */
|
|
#elif defined(CONFIG_P1025)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define QE_MURAM_SIZE 0x6000UL
|
|
#define MAX_QE_RISC 1
|
|
#define QE_NUM_OF_SNUM 28
|
|
|
|
/* P2010 is single core version of P2020 */
|
|
#elif defined(CONFIG_P2010)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
|
|
|
|
#elif defined(CONFIG_P2020)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_RMU
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
|
|
|
#elif defined(CONFIG_PPC_P2041) /* also supports P2040 */
|
|
#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
|
|
#define CONFIG_MAX_CPUS 4
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 5
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 32
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
|
#define CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
|
|
#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004849
|
|
|
|
#elif defined(CONFIG_PPC_P3041)
|
|
#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
|
|
#define CONFIG_MAX_CPUS 4
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 5
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 32
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
|
#define CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
|
|
#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004849
|
|
|
|
#elif defined(CONFIG_PPC_P4080) /* also supports P4040 */
|
|
#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
|
|
#define CONFIG_MAX_CPUS 8
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 2
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 4
|
|
#define CONFIG_SYS_NUM_FM2_DTSEC 4
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
#define CONFIG_SYS_NUM_FM2_10GEC 1
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 2
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 16
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie"
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPC_A002
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPC_A003
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC135
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC13
|
|
#define CONFIG_SYS_P4080_ERRATUM_CPU22
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES8
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES9
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES_A001
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES_A005
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
|
#define CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_RMU
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x20
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000
|
|
#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004849
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004580
|
|
#define CONFIG_SYS_P4080_ERRATUM_PCIE_A003
|
|
|
|
#elif defined(CONFIG_PPC_P5020) /* also supports P5010 */
|
|
#define CONFIG_SYS_PPC64 /* 64-bit core */
|
|
#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 5
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 2
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 32
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
|
#define CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xc0000000
|
|
#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
|
|
|
|
#elif defined(CONFIG_PPC_P5040)
|
|
#define CONFIG_SYS_PPC64
|
|
#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
|
|
#define CONFIG_MAX_CPUS 4
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 3
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 2
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 5
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
#define CONFIG_SYS_NUM_FM2_DTSEC 5
|
|
#define CONFIG_SYS_NUM_FM2_10GEC 1
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 2
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 16
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
#define CONFIG_SYS_FSL_ERRATUM_USB138
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004699
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
|
|
|
|
#elif defined(CONFIG_BSC9131)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_FSL_SDHC_V2_3
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
#define CONFIG_TSECV2
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
#define CONFIG_NAND_FSL_IFC
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
#elif defined(CONFIG_PPC_T4240)
|
|
#define CONFIG_SYS_PPC64 /* 64-bit core */
|
|
#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
|
|
#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
|
|
#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
|
|
#define CONFIG_MAX_CPUS 12
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 5
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
#define CONFIG_SYS_FSL_SRDS_3
|
|
#define CONFIG_SYS_FSL_SRDS_4
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 2
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 8
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 2
|
|
#define CONFIG_SYS_NUM_FM2_DTSEC 8
|
|
#define CONFIG_SYS_NUM_FM2_10GEC 2
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 3
|
|
#define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
|
|
#define CONFIG_SYS_FMAN_V3
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 16
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0"
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004468
|
|
#define CONFIG_SYS_FSL_ERRATUM_A_004934
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
|
|
|
#elif defined(CONFIG_PPC_B4860)
|
|
#define CONFIG_SYS_PPC64 /* 64-bit core */
|
|
#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
|
|
#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
|
|
#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
|
|
#define CONFIG_MAX_CPUS 4
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 6
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 2
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
#define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
|
|
#define CONFIG_SYS_FMAN_V3
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 16
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
#define CONFIG_SYS_FSL_ERRATUM_A_004934
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
|
|
|
#else
|
|
#error Processor type not defined for this platform
|
|
#endif
|
|
|
|
#ifndef CONFIG_SYS_CCSRBAR_DEFAULT
|
|
#error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform."
|
|
#endif
|
|
|
|
#endif /* _ASM_MPC85xx_CONFIG_H_ */
|