summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiang Yutang <b14898@freescale.com>2011-01-30 17:06:20 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-03-28 09:04:26 -0500
commit2d7534a344412409d03e4a341614e4320c48879b (patch)
tree0ba0695586863d48d16963443ccfd13f4ba64b5b
parentcb815e5ff979e36d68df130a810d34de4bf93289 (diff)
downloadu-boot-imx-2d7534a344412409d03e4a341614e4320c48879b.zip
u-boot-imx-2d7534a344412409d03e4a341614e4320c48879b.tar.gz
u-boot-imx-2d7534a344412409d03e4a341614e4320c48879b.tar.bz2
powerpc/85xx: Enable various errata on P1022/P1013 SoCs
Enable workaround for errata ELBC A001, ESDHC 111 & SATA A001 on P1022/P1013 SoCs. Also updated P1022DS config to properly enable CONFIG_FSL_SATA_V2. Signed-off-by: Jiang Yutang <b14898@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/powerpc/include/asm/config_mpc85xx.h6
-rw-r--r--include/configs/P1022DS.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h
index 3a29d1c..22086a0 100644
--- a/arch/powerpc/include/asm/config_mpc85xx.h
+++ b/arch/powerpc/include/asm/config_mpc85xx.h
@@ -103,6 +103,9 @@
#define CONFIG_SYS_FSL_NUM_LAWS 12
#define CONFIG_TSECV2
#define CONFIG_SYS_FSL_SEC_COMPAT 2
+#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
@@ -127,6 +130,9 @@
#define CONFIG_SYS_FSL_NUM_LAWS 12
#define CONFIG_TSECV2
#define CONFIG_SYS_FSL_SEC_COMPAT 2
+#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
+#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
+#define CONFIG_FSL_SATA_ERRATUM_A001
#elif defined(CONFIG_P2010)
#define CONFIG_MAX_CPUS 1
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index cb24041..84b7e1d 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -279,6 +279,7 @@
/* SATA */
#define CONFIG_LIBATA
#define CONFIG_FSL_SATA
+#define CONFIG_FSL_SATA_V2
#define CONFIG_SYS_SATA_MAX_DEVICE 2
#define CONFIG_SATA1