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>
This commit is contained in:
Tom Rini
2022-12-04 10:14:17 -05:00
parent 9ef3ba85bf
commit 1e01950333
40 changed files with 138 additions and 138 deletions

View File

@@ -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) {