summaryrefslogtreecommitdiff
path: root/include/configs/km8360.h
diff options
context:
space:
mode:
authorThomas Herzmann <thomas.herzmann@keymile.com>2012-05-04 10:55:56 +0200
committerKim Phillips <kim.phillips@freescale.com>2012-06-15 17:12:51 -0500
commit95209b66846276d1d598f579ae2dcd1988c49a53 (patch)
tree8f4b741256841516be0025c8229b56c78c4d3a13 /include/configs/km8360.h
parent5758dd7633aead9ee4d0f453cef51f2acd3df3dc (diff)
powerpc/83xx: configure CONFIG_POST for kmcoge5ne
kmcoge5ne starts the post tests if the testpin on the board was enabled. Currently it does simply a memory test. Signed-off-by: Thomas Herzmann <thomas.herzmann@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/km8360.h')
-rw-r--r--include/configs/km8360.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/km8360.h b/include/configs/km8360.h
index 230b0545b7..7631ab6a65 100644
--- a/include/configs/km8360.h
+++ b/include/configs/km8360.h
@@ -266,6 +266,14 @@
BATU_BL_256M |\
BATU_VS |\
BATU_VP)
+/* enable POST tests */
+#define CONFIG_POST (CONFIG_SYS_POST_MEMORY|CONFIG_SYS_POST_MEM_REGIONS)
+#define CONFIG_POST_EXTERNAL_WORD_FUNCS /* use own functions, not generic */
+#define CPM_POST_WORD_ADDR CONFIG_SYS_MEMTEST_END
+#define CONFIG_TESTPIN_REG gprt3 /* for kmcoge5ne */
+#define CONFIG_TESTPIN_MASK 0x20 /* for kmcoge5ne */
+#define CONFIG_CMD_DIAG /* so that testpin is inquired for POST test */
+
#else
#define CONFIG_SYS_IBAT6L (0)
#define CONFIG_SYS_IBAT6U (0)