Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # SPDX-License-Identifier: GPL-2.0+
  3. #
  4. # Copyright (c), Vaisala Oyj
  5. #
  6. menu "Reboot Mode Support"
  7. config DM_REBOOT_MODE
  8. bool "Enable reboot mode using Driver Model"
  9. depends on DM
  10. help
  11. Enable support for reboot mode control. This will allow users to
  12. adjust the boot process based on reboot mode parameter
  13. passed to U-Boot.
  14. config DM_REBOOT_MODE_GPIO
  15. bool "Use GPIOs as reboot mode backend"
  16. depends on DM_REBOOT_MODE
  17. help
  18. Use GPIOs to control the reboot mode. This will allow users to boot
  19. a device in a specific mode by using a GPIO that can be controlled
  20. outside U-Boot.
  21. config DM_REBOOT_MODE_RTC
  22. bool "Use RTC as reboot mode backend"
  23. depends on DM_REBOOT_MODE
  24. help
  25. Use RTC non volatile memory to control the reboot mode. This will allow users to boot
  26. a device in a specific mode by using a register(s) that can be controlled
  27. outside U-Boot (e.g. Kernel).
  28. config REBOOT_MODE_NVMEM
  29. bool "Use NVMEM reboot mode"
  30. depends on DM_REBOOT_MODE && NVMEM
  31. help
  32. Use any kind of non-volatile memory (EEPROM, RTC, etc) to control the
  33. reboot mode.
  34. endmenu