blob: 38cf02a55b5ca7d6f2803c8bc106b1f6235adb55 [file] [log] [blame]
Simon Glass0a2f6a32023-01-06 08:52:40 -06001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Internal header file for bootflow
4 *
5 * Copyright 2022 Google LLC
6 * Written by Simon Glass <sjg@chromium.org>
7 */
8
9#ifndef __BOOTFLOW_INTERNAL_H
10#define __BOOTFLOW_INTERNAL_H
11
12/* expo IDs for elements of the bootflow menu */
13enum {
14 START,
15
16 /* strings */
17 STR_PROMPT,
18 STR_MENU_TITLE,
19 STR_POINTER,
20
21 /* scene */
22 MAIN,
23
24 /* objects */
25 OBJ_U_BOOT_LOGO,
26 OBJ_MENU,
27 OBJ_PROMPT,
28 OBJ_MENU_TITLE,
29 OBJ_POINTER,
30
31 /* strings for menu items */
32 STR_LABEL = 100,
33 STR_DESC = 200,
34 STR_KEY = 300,
35
36 /* menu items / components (bootflow number is added to these) */
37 ITEM = 400,
38 ITEM_LABEL = 500,
39 ITEM_DESC = 600,
40 ITEM_KEY = 700,
41 ITEM_PREVIEW = 800,
42
43 /* left margin for the main menu */
44 MARGIN_LEFT = 100,
45};
46
47#endif /* __BOOTFLOW_INTERNAL_H */