Clear up confusion over the CMD_POST and POST_DIAG mess.
For some reason, CONFIG_POST permeated as CONFIG_CMD_POST_DIAG
when it really means just CONFIG_CMD_DIAG. There is no CMD_POST.
Clear this mess up some.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
diff --git a/include/configs/KUP4X.h b/include/configs/KUP4X.h
index 184338b..c59b70f 100644
--- a/include/configs/KUP4X.h
+++ b/include/configs/KUP4X.h
@@ -167,12 +167,6 @@
#define CONFIG_POST (CFG_POST_CPU | \
CFG_POST_RTC | \
CFG_POST_I2C)
-
-#ifdef CONFIG_POST
-#define CFG_CMD_POST_DIAG CFG_CMD_DIAG
-#else
-#define CFG_CMD_POST_DIAG 0
-#endif
#endif
@@ -187,10 +181,12 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_IDE
#define CONFIG_CMD_NFS
-#define CONFIG_CMD_POST_DIAG
#define CONFIG_CMD_SNTP
#define CONFIG_CMD_USB
+#ifdef CONFIG_POST
+ #define CONFIG_CMD_DIAG
+#endif
/*
* Miscellaneous configurable options