aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-11 09:12:00 -0500
committerTom Rini <trini@konsulko.com>2022-03-18 08:43:25 -0400
commit9b824850062d4521d33fba2abe76d5304adbfe3e (patch)
treec8a4ce88c444d2730a14d0cf2025ff9ad7c3344b
parent2e1fa117a16fd01539780a45dba1f173c0b829d7 (diff)
downloadu-boot-9b824850062d4521d33fba2abe76d5304adbfe3e.zip
u-boot-9b824850062d4521d33fba2abe76d5304adbfe3e.tar.gz
u-boot-9b824850062d4521d33fba2abe76d5304adbfe3e.tar.bz2
Convert CONFIG_A008044_WORKAROUND to Kconfig
This converts the following to Kconfig: CONFIG_A008044_WORKAROUND Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--README4
-rw-r--r--arch/powerpc/cpu/mpc85xx/Kconfig7
-rw-r--r--include/configs/T104xRDB.h6
3 files changed, 7 insertions, 10 deletions
diff --git a/README b/README
index 2f3b288..ace017e 100644
--- a/README
+++ b/README
@@ -374,10 +374,6 @@ The following options need to be configured:
See Freescale App Note 4493 for more information about
this erratum.
- CONFIG_A008044_WORKAROUND
- Enables a workaround for T1040/T1042 erratum A008044. It is only
- required during NAND boot and valid for Rev 1.0 SoC revision
-
CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY
This is the value to write into CCSR offset 0x18600
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index 0e0b923..b06416a 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -885,6 +885,12 @@ config A003399_NOR_WORKAROUND
Enables a workaround for IFC erratum A003399. It is only required
during NOR boot.
+config A008044_WORKAROUND
+ bool
+ help
+ Enables a workaround for T1040/T1042 erratum A008044. It is only
+ required during NAND boot and valid for Rev 1.0 SoC revision
+
config SYS_FSL_ERRATUM_A004468
bool
@@ -967,6 +973,7 @@ config SYS_FSL_ERRATUM_A007907
config SYS_FSL_ERRATUM_A008044
bool
+ select A008044_WORKAROUND if MTD_RAW_NAND
config SYS_FSL_ERRATUM_CPC_A002
bool
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 8a71807..d66ad8c 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -310,12 +310,6 @@
#define CONFIG_SYS_RAMBOOT
#endif
-#ifdef CONFIG_SYS_FSL_ERRATUM_A008044
-#if defined(CONFIG_MTD_RAW_NAND)
-#define CONFIG_A008044_WORKAROUND
-#endif
-#endif
-
#define CONFIG_HWCONFIG
/* define to use L1 as initial stack */