Patchwork [U-Boot] powerpc/85xx: Enable various errata on P1022/P1013 SoCs

login
register
mail settings
Submitter Kumar Gala
Date March 7, 2011, 4:15 a.m.
Message ID <1299471359-26364-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/85653/
State Accepted
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - March 7, 2011, 4:15 a.m.
From: Jiang Yutang <b14898@freescale.com>

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>
---
 arch/powerpc/include/asm/config_mpc85xx.h |    6 ++++++
 include/configs/P1022DS.h                 |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
Kumar Gala - March 25, 2011, 1:35 p.m.
On Mar 6, 2011, at 10:15 PM, Kumar Gala wrote:

> From: Jiang Yutang <b14898@freescale.com>
> 
> 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>
> ---
> arch/powerpc/include/asm/config_mpc85xx.h |    6 ++++++
> include/configs/P1022DS.h                 |    1 +
> 2 files changed, 7 insertions(+), 0 deletions(-)

applied to 85xx

- k

Patch

diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h
index 18327fd..5bdb11b 100644
--- a/arch/powerpc/include/asm/config_mpc85xx.h
+++ b/arch/powerpc/include/asm/config_mpc85xx.h
@@ -109,6 +109,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
@@ -143,6 +146,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_P1023)
 #define CONFIG_MAX_CPUS			2
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index f672b3d..5f47d1a 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