summaryrefslogtreecommitdiff
path: root/post/post.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 18:14:17 +0300
committerTom Rini <trini@konsulko.com>2022-12-23 21:01:13 +0300
commit1e019503330585e892be057cca3ed4eb1b9c9344 (patch)
tree4a3c00b9ea9e88f23da0acb1ec35f511981bca7e /post/post.c
parent9ef3ba85bf38289a3e3b0dcb92fad9480a0b1834 (diff)
downloadu-boot-1e019503330585e892be057cca3ed4eb1b9c9344.tar.xz
post: Move CONFIG_SYS_POST to CFG_SYS_POST
Migrate the rest of the CONFIG_SYS_POST macros over to CFG_SYS_POST namespace. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'post/post.c')
-rw-r--r--post/post.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/post/post.c b/post/post.c
index 9964b41080..4db862c0db 100644
--- a/post/post.c
+++ b/post/post.c
@@ -16,7 +16,7 @@
#include <post.h>
#include <asm/global_data.h>
-#ifdef CONFIG_SYS_POST_HOTKEYS_GPIO
+#ifdef CFG_SYS_POST_HOTKEYS_GPIO
#include <asm/gpio.h>
#endif
@@ -55,9 +55,9 @@ int post_init_f(void)
*/
__weak int post_hotkeys_pressed(void)
{
-#ifdef CONFIG_SYS_POST_HOTKEYS_GPIO
+#ifdef CFG_SYS_POST_HOTKEYS_GPIO
int ret;
- unsigned gpio = CONFIG_SYS_POST_HOTKEYS_GPIO;
+ unsigned gpio = CFG_SYS_POST_HOTKEYS_GPIO;
ret = gpio_request(gpio, "hotkeys");
if (ret) {