1 /* 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 */
13 enum {
14 	START,
15 
16 	/* strings */
17 	STR_PROMPT1A,
18 	STR_PROMPT1B,
19 	STR_PROMPT2,
20 	STR_AUTOBOOT,
21 	STR_MENU_TITLE,
22 	STR_POINTER,
23 
24 	/* scene */
25 	MAIN,
26 
27 	/* objects */
28 	OBJ_U_BOOT_LOGO,
29 	OBJ_BOX,
30 	OBJ_MENU,
31 	OBJ_PROMPT1A,
32 	OBJ_PROMPT1B,
33 	OBJ_PROMPT2,
34 	OBJ_MENU_TITLE,
35 	OBJ_POINTER,
36 	OBJ_AUTOBOOT,
37 
38 	/* strings for menu items */
39 	STR_LABEL = 100,
40 	STR_DESC = 200,
41 	STR_KEY = 300,
42 
43 	/* menu items / components (bootflow number is added to these) */
44 	ITEM = 400,
45 	ITEM_LABEL = 500,
46 	ITEM_DESC = 600,
47 	ITEM_KEY = 700,
48 	ITEM_PREVIEW = 800,
49 
50 	/* left margin for the main menu */
51 	MARGIN_LEFT	 = 100,
52 };
53 
54 #endif /* __BOOTFLOW_INTERNAL_H */
55