diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c index a7aef2fc89..d8a7328ace 100644 --- a/app/aboot/aboot.c +++ b/app/aboot/aboot.c @@ -102,6 +102,9 @@ #if WITH_LK2ND_DEVICE #include #endif +#if WITH_LK2ND_DISPLAY_MENU +#include +#endif extern bool target_use_signed_kernel(void); extern void platform_uninit(void); @@ -5715,6 +5718,10 @@ void aboot_init(const struct app_descriptor *app) #if FBCON_DISPLAY_MSG display_fastboot_menu(); #endif + +#if WITH_LK2ND_DISPLAY_MENU + lk2nd_fastboot_menu(); +#endif } uint32_t get_page_size(void) diff --git a/lk2nd/project/base.mk b/lk2nd/project/base.mk index 158a4e129a..b9f6537bbc 100644 --- a/lk2nd/project/base.mk +++ b/lk2nd/project/base.mk @@ -29,8 +29,10 @@ LK2ND_SMP_OPTIONAL := 1 ifeq ($(ENABLE_DISPLAY), 1) ifneq ($(LK2ND_DISPLAY),) -MODULES += lk2nd/display -ENABLE_FBCON_DISPLAY_MSG := 1 +MODULES += \ + lk2nd/display \ + lk2nd/display/menu +ENABLE_FBCON_DISPLAY_MSG := 0 else ENABLE_DISPLAY := 0 $(info NOTE: Display support is disabled without display/panel selection)