post: Move CONFIG_SYS_POST to CFG_SYS_POST
Migrate the rest of the CONFIG_SYS_POST macros over to CFG_SYS_POST
namespace.
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/include/post.h b/include/post.h
index e68d5c8..4112069 100644
--- a/include/post.h
+++ b/include/post.h
@@ -17,8 +17,8 @@
#if defined(CONFIG_POST)
#ifndef CFG_POST_EXTERNAL_WORD_FUNCS
-#ifdef CONFIG_SYS_POST_WORD_ADDR
-#define _POST_WORD_ADDR CONFIG_SYS_POST_WORD_ADDR
+#ifdef CFG_SYS_POST_WORD_ADDR
+#define _POST_WORD_ADDR CFG_SYS_POST_WORD_ADDR
#else
#if defined(CONFIG_ARCH_MPC8360)
@@ -34,7 +34,7 @@
#ifndef _POST_WORD_ADDR
#error "_POST_WORD_ADDR currently not implemented for this platform!"
#endif
-#endif /* CONFIG_SYS_POST_WORD_ADDR */
+#endif /* CFG_SYS_POST_WORD_ADDR */
static inline ulong post_word_load (void)
{
@@ -140,29 +140,29 @@
#endif /* __GNUC__ */
#endif /* __ASSEMBLY__ */
-#define CONFIG_SYS_POST_RTC 0x00000001
-#define CONFIG_SYS_POST_WATCHDOG 0x00000002
+#define CFG_SYS_POST_RTC 0x00000001
+#define CFG_SYS_POST_WATCHDOG 0x00000002
#define CFG_SYS_POST_MEMORY 0x00000004
-#define CONFIG_SYS_POST_CPU 0x00000008
-#define CONFIG_SYS_POST_I2C 0x00000010
-#define CONFIG_SYS_POST_CACHE 0x00000020
-#define CONFIG_SYS_POST_UART 0x00000040
-#define CONFIG_SYS_POST_ETHER 0x00000080
-#define CONFIG_SYS_POST_USB 0x00000200
-#define CONFIG_SYS_POST_SPR 0x00000400
-#define CONFIG_SYS_POST_SYSMON 0x00000800
-#define CONFIG_SYS_POST_DSP 0x00001000
-#define CONFIG_SYS_POST_OCM 0x00002000
-#define CONFIG_SYS_POST_FPU 0x00004000
-#define CONFIG_SYS_POST_ECC 0x00008000
-#define CONFIG_SYS_POST_BSPEC1 0x00010000
-#define CONFIG_SYS_POST_BSPEC2 0x00020000
-#define CONFIG_SYS_POST_BSPEC3 0x00040000
-#define CONFIG_SYS_POST_BSPEC4 0x00080000
-#define CONFIG_SYS_POST_BSPEC5 0x00100000
-#define CONFIG_SYS_POST_CODEC 0x00200000
-#define CONFIG_SYS_POST_COPROC 0x00400000
-#define CONFIG_SYS_POST_FLASH 0x00800000
+#define CFG_SYS_POST_CPU 0x00000008
+#define CFG_SYS_POST_I2C 0x00000010
+#define CFG_SYS_POST_CACHE 0x00000020
+#define CFG_SYS_POST_UART 0x00000040
+#define CFG_SYS_POST_ETHER 0x00000080
+#define CFG_SYS_POST_USB 0x00000200
+#define CFG_SYS_POST_SPR 0x00000400
+#define CFG_SYS_POST_SYSMON 0x00000800
+#define CFG_SYS_POST_DSP 0x00001000
+#define CFG_SYS_POST_OCM 0x00002000
+#define CFG_SYS_POST_FPU 0x00004000
+#define CFG_SYS_POST_ECC 0x00008000
+#define CFG_SYS_POST_BSPEC1 0x00010000
+#define CFG_SYS_POST_BSPEC2 0x00020000
+#define CFG_SYS_POST_BSPEC3 0x00040000
+#define CFG_SYS_POST_BSPEC4 0x00080000
+#define CFG_SYS_POST_BSPEC5 0x00100000
+#define CFG_SYS_POST_CODEC 0x00200000
+#define CFG_SYS_POST_COPROC 0x00400000
+#define CFG_SYS_POST_FLASH 0x00800000
#define CFG_SYS_POST_MEM_REGIONS 0x01000000
#endif /* CONFIG_POST */