aboutsummaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-16 13:10:41 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:06:08 -0500
commit65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8 (patch)
treee1b9902c5257875fc5fe8243e1e759594f90beed /post
parenta322afc9f9b69dd52a9bc72937cd5adc18ea55c7 (diff)
downloadu-boot-65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8.zip
u-boot-65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8.tar.gz
u-boot-65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8.tar.bz2
global: Move remaining CONFIG_SYS_* to CFG_SYS_*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
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
};