summaryrefslogtreecommitdiff
path: root/include/configs/bf537-stamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/bf537-stamp.h')
-rw-r--r--include/configs/bf537-stamp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h
index 36f55d1..bea157a 100644
--- a/include/configs/bf537-stamp.h
+++ b/include/configs/bf537-stamp.h
@@ -144,11 +144,8 @@
#endif
#ifdef CONFIG_POST
-#define CFG_CMD_POST_DIAG CFG_CMD_DIAG
#define FLASH_START_POST_BLOCK 11 /* Should > = 11 */
#define FLASH_END_POST_BLOCK 71 /* Should < = 71 */
-#else
-#define CFG_CMD_POST_DIAG 0
#endif
/* CF-CARD IDE-HDD Support */
@@ -197,7 +194,10 @@
#if (BFIN_BOOT_MODE == BF537_BYPASS_BOOT)
#define CONFIG_CMD_DHCP
-#define CONFIG_CMD_POST_DIAG
+
+#if defined(CONFIG_POST)
+#define CONFIG_CMD_DIAG
+#endif
#ifdef CONFIG_BF537_NAND
#define CONFIG_CMD_NAND