summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/post.h50
-rw-r--r--include/serial.h4
2 files changed, 27 insertions, 27 deletions
diff --git a/include/post.h b/include/post.h
index e68d5c8902..4112069506 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 @@ extern int memory_post_test(int flags);
#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 */
diff --git a/include/serial.h b/include/serial.h
index f4d7dc58a9..42bdf3759c 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -14,7 +14,7 @@ struct serial_device {
int (*tstc)(void);
void (*putc)(const char c);
void (*puts)(const char *s);
-#if CFG_POST & CONFIG_SYS_POST_UART
+#if CFG_POST & CFG_SYS_POST_UART
void (*loop)(int);
#endif
struct serial_device *next;
@@ -242,7 +242,7 @@ struct dm_serial_ops {
* @return 0 if OK, -ve on error
*/
int (*clear)(struct udevice *dev);
-#if CFG_POST & CONFIG_SYS_POST_UART
+#if CFG_POST & CFG_SYS_POST_UART
/**
* loop() - Control serial device loopback mode
*