Skip to content

Commit

Permalink
lk2nd: device: menu: display ARM64 availability
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderfulShrineMaidenOfParadise committed Sep 7, 2024
1 parent 8775582 commit 4a170b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lk2nd/device/menu/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ void display_fastboot_menu(void)
struct fbcon_config *fb = fbcon_display();
int y, y_menu, old_scale, incr;
unsigned int sel = 0, i;
bool armv8 = is_scm_armv8_support();

if (!fb)
return;
Expand Down Expand Up @@ -202,6 +203,9 @@ void display_fastboot_menu(void)
fbcon_printf_ln(SILVER, y, incr, false, " Bootloader: %s", lk2nd_dev.bootloader);
#endif

fbcon_printf_ln(armv8 ? GREEN : YELLOW, y, incr, false, " ARM64: %s",
armv8 ? "available" : "unavailable");

/*
* Loop to render the menu elements
*/
Expand Down

0 comments on commit 4a170b1

Please sign in to comment.