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>
This commit is contained in:
@@ -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) */
|
||||
|
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user