Commit 63659ff3 authored by York Sun's avatar York Sun Committed by Tom Rini

powerpc: mpc85xx: Move CONFIG_SYS_FSL_ERRATUM_* to Kconfig

Use Kconfig to select errata workaround.
Signed-off-by: default avatarYork Sun <york.sun@nxp.com>
parent c01e4a1a
This diff is collapsed.
......@@ -136,7 +136,7 @@ static int do_errata(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#endif
__maybe_unused u32 svr = get_svr();
#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_FSL_SATA_ERRATUM_A001)
#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_SYS_FSL_ERRATUM_SATA_A001)
if (IS_SVR_REV(svr, 1, 0)) {
switch (SVR_SOC_VER(svr)) {
case SVR_P1013:
......
......@@ -975,7 +975,7 @@ int cpu_init_r(void)
#endif
#endif
#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_FSL_SATA_ERRATUM_A001)
#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_SYS_FSL_ERRATUM_SATA_A001)
/*
* For P1022/1013 Rev1.0 silicon, after power on SATA host
* controller is configured in legacy mode instead of the
......
This diff is collapsed.
......@@ -141,3 +141,18 @@ config SYS_FSL_ERRATUM_A009942
config SYS_FSL_ERRATUM_A010165
bool
config SYS_FSL_ERRATUM_NMG_DDR120
bool
config SYS_FSL_ERRATUM_DDR_115
bool
config SYS_FSL_ERRATUM_DDR111_DDR134
bool
config SYS_FSL_ERRATUM_DDR_A003
bool
config SYS_FSL_ERRATUM_DDR_A003474
bool
......@@ -20,7 +20,6 @@
#define CONFIG_SYS_TEXT_BASE 0x11000000
#define CONFIG_RESET_VECTOR_ADDRESS 0x110bfffc
#endif
#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 1
#ifdef CONFIG_SPIFLASH
#define CONFIG_RAMBOOT_SPIFLASH
#define CONFIG_SYS_RAMBOOT
......
......@@ -1295,7 +1295,6 @@ CONFIG_FSL_QIXIS
CONFIG_FSL_QIXIS_CLOCK_MEASUREMENT
CONFIG_FSL_QIXIS_V2
CONFIG_FSL_SATA
CONFIG_FSL_SATA_ERRATUM_A001
CONFIG_FSL_SATA_V2
CONFIG_FSL_SDHC_V2_3
CONFIG_FSL_SDRAM_TYPE
......@@ -5353,31 +5352,7 @@ CONFIG_SYS_FSL_DSP_CCSR_DDR_OFFSET
CONFIG_SYS_FSL_DSP_DDR_ADDR
CONFIG_SYS_FSL_DSP_M2_RAM_ADDR
CONFIG_SYS_FSL_DSP_M3_RAM_ADDR
CONFIG_SYS_FSL_ERRATUM_A004468
CONFIG_SYS_FSL_ERRATUM_A004477
CONFIG_SYS_FSL_ERRATUM_A004508
CONFIG_SYS_FSL_ERRATUM_A004510
CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV
CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2
CONFIG_SYS_FSL_ERRATUM_A004580
CONFIG_SYS_FSL_ERRATUM_A004699
CONFIG_SYS_FSL_ERRATUM_A004849
CONFIG_SYS_FSL_ERRATUM_A005125
CONFIG_SYS_FSL_ERRATUM_A005434
CONFIG_SYS_FSL_ERRATUM_A005812
CONFIG_SYS_FSL_ERRATUM_A005871
CONFIG_SYS_FSL_ERRATUM_A006261
CONFIG_SYS_FSL_ERRATUM_A006379
CONFIG_SYS_FSL_ERRATUM_A006384
CONFIG_SYS_FSL_ERRATUM_A006475
CONFIG_SYS_FSL_ERRATUM_A006593
CONFIG_SYS_FSL_ERRATUM_A007075
CONFIG_SYS_FSL_ERRATUM_A007186
CONFIG_SYS_FSL_ERRATUM_A007212
CONFIG_SYS_FSL_ERRATUM_A007798
CONFIG_SYS_FSL_ERRATUM_A008044
CONFIG_SYS_FSL_ERRATUM_A008336
CONFIG_SYS_FSL_ERRATUM_A008378
CONFIG_SYS_FSL_ERRATUM_A008407
CONFIG_SYS_FSL_ERRATUM_A008511
CONFIG_SYS_FSL_ERRATUM_A008514
......@@ -5386,32 +5361,11 @@ CONFIG_SYS_FSL_ERRATUM_A008751
CONFIG_SYS_FSL_ERRATUM_A008850
CONFIG_SYS_FSL_ERRATUM_A009635
CONFIG_SYS_FSL_ERRATUM_A009660
CONFIG_SYS_FSL_ERRATUM_A009663
CONFIG_SYS_FSL_ERRATUM_A009801
CONFIG_SYS_FSL_ERRATUM_A009803
CONFIG_SYS_FSL_ERRATUM_A009929
CONFIG_SYS_FSL_ERRATUM_A009942
CONFIG_SYS_FSL_ERRATUM_A010165
CONFIG_SYS_FSL_ERRATUM_A_004934
CONFIG_SYS_FSL_ERRATUM_CPC_A002
CONFIG_SYS_FSL_ERRATUM_CPC_A003
CONFIG_SYS_FSL_ERRATUM_CPU_A003999
CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134
CONFIG_SYS_FSL_ERRATUM_DDR_115
CONFIG_SYS_FSL_ERRATUM_DDR_A003
CONFIG_SYS_FSL_ERRATUM_DDR_A003474
CONFIG_SYS_FSL_ERRATUM_ELBC_A001
CONFIG_SYS_FSL_ERRATUM_I2C_A004447
CONFIG_SYS_FSL_ERRATUM_IFC_A002769
CONFIG_SYS_FSL_ERRATUM_IFC_A003399
CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
CONFIG_SYS_FSL_ERRATUM_NMG_DDR120
CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129
CONFIG_SYS_FSL_ERRATUM_NMG_LBC103
CONFIG_SYS_FSL_ERRATUM_P1010_A003549
CONFIG_SYS_FSL_ERRATUM_SEC_A003571
CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
CONFIG_SYS_FSL_ERRATUM_USB14
CONFIG_SYS_FSL_ESDHC_ADDR
CONFIG_SYS_FSL_ESDHC_BE
CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
......@@ -6751,12 +6705,6 @@ CONFIG_SYS_OSD_DH
CONFIG_SYS_OSD_SCREENS
CONFIG_SYS_OSPR_OFFSET
CONFIG_SYS_OS_BASE
CONFIG_SYS_P4080_ERRATUM_CPU22
CONFIG_SYS_P4080_ERRATUM_PCIE_A003
CONFIG_SYS_P4080_ERRATUM_SERDES8
CONFIG_SYS_P4080_ERRATUM_SERDES9
CONFIG_SYS_P4080_ERRATUM_SERDES_A001
CONFIG_SYS_P4080_ERRATUM_SERDES_A005
CONFIG_SYS_PACNT
CONFIG_SYS_PADAT
CONFIG_SYS_PADDR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment