From: Simon Glass <sjg@chromium.org> Some distros have a name in addition to the version. Add an object for that in case it is needed. Move the existing objects down to make room. Add a definition for a button which displays help. For now this is not used in the standard layout. Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/bootflow_internal.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/boot/bootflow_internal.h b/boot/bootflow_internal.h index ae7bb16ce8d..8731e9950fd 100644 --- a/boot/bootflow_internal.h +++ b/boot/bootflow_internal.h @@ -23,6 +23,7 @@ * @ITEM_DESC: Longer description or pretty name, e.g. "Ubuntu 2024.04 LTS" * @ITEM_KEY: Keypress to select this item, e.g. "1" * @ITEM_PREVIEW: Preview image for the OS + * @ITEM_VERSION_NAME: Distro's name for the version, e.g. 'Noble Numbat' */ enum boomenu_id_t { START, @@ -56,13 +57,15 @@ enum boomenu_id_t { STR_LABEL = 100, STR_DESC = 200, STR_KEY = 300, + STR_VERSION_NAME = 400, /* menu items / components (bootflow number is added to these) */ - ITEM = 400, - ITEM_LABEL = 500, - ITEM_DESC = 600, - ITEM_KEY = 700, - ITEM_PREVIEW = 800, + ITEM = 600, + ITEM_LABEL = 700, + ITEM_DESC = 800, + ITEM_KEY = 900, + ITEM_PREVIEW = 1000, + ITEM_VERSION_NAME = 1100, /* left margin for the main menu */ MARGIN_LEFT = 100, -- 2.43.0