소스 검색

ARM: tegra: enable some CPU errata workarounds

Tegra20 has a Cortex A9 r1p1, and Tegra30 has a Cortex A9 r2p9. As such,
some CPU errata exist, and must be worked around.

These must be worked around in the bootloader, since in general, the
kernel (especially a multi-platform kernel) needs to support being
launched in non-secure mode (normal world), and hence may not be able
to write to the CP15 register to enable these workarounds.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Stephen Warren 12 년 전
부모
커밋
c44bb3a30f
2개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      include/configs/tegra20-common.h
  2. 6 0
      include/configs/tegra30-common.h

+ 6 - 0
include/configs/tegra20-common.h

@@ -25,6 +25,12 @@
 #define _TEGRA20_COMMON_H_
 #include "tegra-common.h"
 
+/*
+ * Errata configuration
+ */
+#define CONFIG_ARM_ERRATA_742230
+#define CONFIG_ARM_ERRATA_751472
+
 /*
  * NS16550 Configuration
  */

+ 6 - 0
include/configs/tegra30-common.h

@@ -25,6 +25,12 @@
 #define _TEGRA30_COMMON_H_
 #include "tegra-common.h"
 
+/*
+ * Errata configuration
+ */
+#define CONFIG_ARM_ERRATA_743622
+#define CONFIG_ARM_ERRATA_751472
+
 /*
  * NS16550 Configuration
  */