aboutsummaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
Diffstat (limited to 'post')
-rw-r--r--post/drivers/memory.c4
-rw-r--r--post/tests.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/post/drivers/memory.c b/post/drivers/memory.c
index 8deac75..71dad7b 100644
--- a/post/drivers/memory.c
+++ b/post/drivers/memory.c
@@ -138,7 +138,7 @@
#include <post.h>
#include <watchdog.h>
-#if CONFIG_POST & (CONFIG_SYS_POST_MEMORY | CONFIG_SYS_POST_MEM_REGIONS)
+#if CONFIG_POST & (CFG_SYS_POST_MEMORY | CFG_SYS_POST_MEM_REGIONS)
DECLARE_GLOBAL_DATA_PTR;
@@ -535,4 +535,4 @@ int memory_post_test(int flags)
return ret;
}
-#endif /* CONFIG_POST&(CONFIG_SYS_POST_MEMORY|CONFIG_SYS_POST_MEM_REGIONS) */
+#endif /* CONFIG_POST&(CFG_SYS_POST_MEMORY|CFG_SYS_POST_MEM_REGIONS) */
diff --git a/post/tests.c b/post/tests.c
index 5c019b6..fc36e73 100644
--- a/post/tests.c
+++ b/post/tests.c
@@ -109,7 +109,7 @@ struct post_test post_list[] =
CONFIG_SYS_POST_RTC
},
#endif
-#if CONFIG_POST & CONFIG_SYS_POST_MEMORY
+#if CONFIG_POST & CFG_SYS_POST_MEMORY
{
"Memory test",
"memory",
@@ -118,7 +118,7 @@ struct post_test post_list[] =
&memory_post_test,
NULL,
NULL,
- CONFIG_SYS_POST_MEMORY
+ CFG_SYS_POST_MEMORY
},
#endif
#if CONFIG_POST & CONFIG_SYS_POST_CPU
@@ -286,7 +286,7 @@ struct post_test post_list[] =
CONFIG_SYS_POST_FLASH
},
#endif
-#if CONFIG_POST & CONFIG_SYS_POST_MEM_REGIONS
+#if CONFIG_POST & CFG_SYS_POST_MEM_REGIONS
{
"Memory regions test",
"mem_regions",
@@ -295,7 +295,7 @@ struct post_test post_list[] =
&memory_regions_post_test,
NULL,
NULL,
- CONFIG_SYS_POST_MEM_REGIONS
+ CFG_SYS_POST_MEM_REGIONS
},
#endif
};