aboutsummaryrefslogtreecommitdiff
path: root/post/post.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-19 18:45:44 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:11:50 -0500
commit9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4 (patch)
tree991419da6908e988faf815bafec3a7c01f8e9d8a /post/post.c
parentd948c8988c212bc8fe94db556b7ef265d2e96452 (diff)
downloadu-boot-9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4.zip
u-boot-9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4.tar.gz
u-boot-9cebc4ad8ebe6832c6d0eca786a85533a3b54ce4.tar.bz2
post: Migrate to Kconfig
We move the existing CONFIG_POST_* functionality over to CFG_POST and then introduce CONFIG_POST to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'post/post.c')
-rw-r--r--post/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/post.c b/post/post.c
index b81425d..9964b41 100644
--- a/post/post.c
+++ b/post/post.c
@@ -168,7 +168,7 @@ static void post_bootmode_test_off(void)
post_word_store(word);
}
-#ifndef CONFIG_POST_SKIP_ENV_FLAGS
+#ifndef CFG_POST_SKIP_ENV_FLAGS
static void post_get_env_flags(int *test_flags)
{
int flag[] = { POST_POWERON, POST_NORMAL, POST_SLOWTEST,
@@ -227,7 +227,7 @@ static void post_get_flags(int *test_flags)
for (j = 0; j < post_list_size; j++)
test_flags[j] = post_list[j].flags;
-#ifndef CONFIG_POST_SKIP_ENV_FLAGS
+#ifndef CFG_POST_SKIP_ENV_FLAGS
post_get_env_flags(test_flags);
#endif