[U-Boot] [PATCH] ARMv8:ls2080: Move the core errata defines out of board specific file

* Valid for core A57
Signed-off-by: Ashish Kumar Ashish.Kumar@nxp.com --- arch/arm/include/asm/arch-fsl-layerscape/config.h | 4 ++++ include/configs/ls2080a_common.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/config.h b/arch/arm/include/asm/arch-fsl-layerscape/config.h index f1b164f..5d68a8a 100644 --- a/arch/arm/include/asm/arch-fsl-layerscape/config.h +++ b/arch/arm/include/asm/arch-fsl-layerscape/config.h @@ -121,6 +121,10 @@ #define CONFIG_SYS_FSL_ERRATUM_A009663 #define CONFIG_SYS_FSL_ERRATUM_A009942
+/* ARM core A57 Errata fixes */ +#define CONFIG_ARM_ERRATA_828024 +#define CONFIG_ARM_ERRATA_826974 + #elif defined(CONFIG_LS1043A) #define CONFIG_MAX_CPUS 4 #define CONFIG_SYS_CACHELINE_SIZE 64 diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h index 7323e10..def0a6f 100644 --- a/include/configs/ls2080a_common.h +++ b/include/configs/ls2080a_common.h @@ -15,9 +15,6 @@ #define CONFIG_GICV3 #define CONFIG_FSL_TZPC_BP147
-/* Errata fixes */ -#define CONFIG_ARM_ERRATA_828024 -#define CONFIG_ARM_ERRATA_826974
#include <asm/arch/ls2080a_stream_id.h> #include <asm/arch/config.h>

On 01/29/2016 03:10 AM, Ashish Kumar wrote:
- Valid for core A57
Signed-off-by: Ashish Kumar Ashish.Kumar@nxp.com
arch/arm/include/asm/arch-fsl-layerscape/config.h | 4 ++++ include/configs/ls2080a_common.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-)
Slightly revised subject and commit message. Applied to u-boot-fsl-qoriq master branch. Awaiting upstream.
Thanks.
York
participants (2)
-
Ashish Kumar
-
york sun