bootflow_internal.h 793 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #ifndef __BOOTFLOW_INTERNAL_H
  9. #define __BOOTFLOW_INTERNAL_H
  10. /* expo IDs for elements of the bootflow menu */
  11. enum {
  12. START,
  13. /* strings */
  14. STR_PROMPT,
  15. STR_MENU_TITLE,
  16. STR_POINTER,
  17. /* scene */
  18. MAIN,
  19. /* objects */
  20. OBJ_U_BOOT_LOGO,
  21. OBJ_MENU,
  22. OBJ_PROMPT,
  23. OBJ_MENU_TITLE,
  24. OBJ_POINTER,
  25. /* strings for menu items */
  26. STR_LABEL = 100,
  27. STR_DESC = 200,
  28. STR_KEY = 300,
  29. /* menu items / components (bootflow number is added to these) */
  30. ITEM = 400,
  31. ITEM_LABEL = 500,
  32. ITEM_DESC = 600,
  33. ITEM_KEY = 700,
  34. ITEM_PREVIEW = 800,
  35. /* left margin for the main menu */
  36. MARGIN_LEFT = 100,
  37. };
  38. #endif /* __BOOTFLOW_INTERNAL_H */