summaryrefslogtreecommitdiff
path: root/boot/bootflow_internal.h
blob: 4cdb6966a7b99f487a44cb57af798c528558d2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Internal header file for bootflow
 *
 * Copyright 2022 Google LLC
 * Written by Simon Glass <sjg@chromium.org>
 */

#ifndef __BOOTFLOW_INTERNAL_H
#define __BOOTFLOW_INTERNAL_H

/* expo IDs for elements of the bootflow menu */
enum {
	START,

	/* strings */
	STR_PROMPT1A,
	STR_PROMPT1B,
	STR_PROMPT2,
	STR_AUTOBOOT,
	STR_MENU_TITLE,
	STR_POINTER,

	/* scene */
	MAIN,

	/* objects */
	OBJ_U_BOOT_LOGO,
	OBJ_BOX,
	OBJ_MENU,
	OBJ_PROMPT1A,
	OBJ_PROMPT1B,
	OBJ_PROMPT2,
	OBJ_MENU_TITLE,
	OBJ_POINTER,
	OBJ_AUTOBOOT,

	/* strings for menu items */
	STR_LABEL = 100,
	STR_DESC = 200,
	STR_KEY = 300,

	/* menu items / components (bootflow number is added to these) */
	ITEM = 400,
	ITEM_LABEL = 500,
	ITEM_DESC = 600,
	ITEM_KEY = 700,
	ITEM_PREVIEW = 800,

	/* left margin for the main menu */
	MARGIN_LEFT	 = 100,
};

#endif /* __BOOTFLOW_INTERNAL_H */