Kconfig: Rename API to LEGACY_API

Update Kconfig use use CONFIG_LEGACY_API since the API is now
deprecated.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-09-05 06:59:32 -06:00
parent 9268e78e44
commit 18d0bb3158
9 changed files with 24 additions and 20 deletions

View File

@@ -686,8 +686,8 @@ static void initcall_run_r(void)
#endif
INITCALL(stdio_add_devices);
INITCALL(jumptable_init);
#if CONFIG_IS_ENABLED(API)
INITCALL(api_init);
#if CONFIG_IS_ENABLED(LEGACY_API)
INITCALL(legacy_api_init);
#endif
INITCALL(console_init_r); /* fully init console as a device */
#if CONFIG_IS_ENABLED(DISPLAY_BOARDINFO_LATE)