summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven A. Falco <sfalco@harris.com>2011-05-05 10:08:35 -0400
committerStefan Roese <sr@denx.de>2011-05-12 16:10:51 +0200
commit644362c40aa8d356d2cc0d230ce0c3bad279c23c (patch)
tree2f13f72006f88a509749e804bbc08864bb031f3e /include
parent264eaa0ea967bac32214b87d60cfc86c8b22cac6 (diff)
PPC405EX CHIP_21 erratum
APM errata CHIP_21 for the 405EX/EXr (from the rev 1.09 document dated 4/27/11) states that rev D processors may wake up with the wrong feature set. This patch implements the APM-proposed workaround. To enable this patch for your board, add the appropriate define for your CPU to your board header file. See kilauea.h for more information. The following variants are supported: #define CONFIG_SYS_4xx_CHIP_21_405EX_NO_SECURITY #define CONFIG_SYS_4xx_CHIP_21_405EX_SECURITY #define CONFIG_SYS_4xx_CHIP_21_405EXr_NO_SECURITY #define CONFIG_SYS_4xx_CHIP_21_405EXr_SECURITY Please note that if you select the wrong define, your board will not boot, and JTAG will be required to recover. Tested on custom boards using: CONFIG_SYS_4xx_CHIP_21_405EX_NO_SECURITY <sfalco@harris.com> CONFIG_SYS_4xx_CHIP_21_405EX_SECURITY <eibach@gdsys.de> Signed-off-by: Steve Falco <sfalco@harris.com> Acked-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/kilauea.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/kilauea.h b/include/configs/kilauea.h
index 031f8fb4ec9..e66aadf97e0 100644
--- a/include/configs/kilauea.h
+++ b/include/configs/kilauea.h
@@ -44,6 +44,20 @@
#endif
/*
+ * CHIP_21 errata - you must set this to match your exact CPU, else your
+ * board will not boot. DO NOT enable this unless you have JTAG available
+ * for recovery, in the event you get it wrong.
+ *
+ * Kilauea uses the 405EX, while Haleakala uses the 405EXr. Either board
+ * may be equipped for security or not. You must look at the CPU part
+ * number to be sure what you have.
+ */
+/* #define CONFIG_SYS_4xx_CHIP_21_405EX_NO_SECURITY */
+/* #define CONFIG_SYS_4xx_CHIP_21_405EX_SECURITY */
+/* #define CONFIG_SYS_4xx_CHIP_21_405EXr_NO_SECURITY */
+/* #define CONFIG_SYS_4xx_CHIP_21_405EXr_SECURITY */
+
+/*
* Include common defines/options for all AMCC eval boards
*/
#define CONFIG_HOSTNAME kilauea