Kconfig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. menu "DFU support"
  2. config DFU
  3. bool
  4. imply DFU_OVER_USB if USB_GADGET
  5. config DFU_OVER_USB
  6. bool
  7. select HASH
  8. depends on USB_GADGET
  9. config DFU_OVER_TFTP
  10. bool
  11. depends on NET
  12. if DFU
  13. config DFU_TFTP
  14. bool "DFU via TFTP"
  15. select DFU_OVER_TFTP
  16. help
  17. This option allows performing update of DFU-managed medium with data
  18. sent via TFTP boot.
  19. Detailed description of this feature can be found at ./doc/README.dfutftp
  20. config DFU_TIMEOUT
  21. bool "Timeout waiting for DFU"
  22. help
  23. This option adds an optional timeout parameter for DFU which, if set,
  24. will cause DFU to only wait for that many seconds before exiting.
  25. config DFU_MMC
  26. bool "MMC back end for DFU"
  27. help
  28. This option enables using DFU to read and write to MMC based storage.
  29. config DFU_NAND
  30. bool "NAND back end for DFU"
  31. depends on CMD_MTDPARTS
  32. depends on MTD_RAW_NAND
  33. help
  34. This option enables using DFU to read and write to NAND based
  35. storage.
  36. config DFU_NAND_TRIMFFS
  37. bool "Skip empty pages when flashing UBI images to NAND"
  38. depends on DFU_NAND
  39. help
  40. When flashing UBI images to NAND, enable the DROP_FFS flag to drop
  41. trailing all-0xff pages.
  42. config DFU_RAM
  43. bool "RAM back end for DFU"
  44. help
  45. This option enables using DFU to read and write RAM on the target.
  46. config DFU_SF
  47. bool "SPI flash back end for DFU"
  48. help
  49. This option enables using DFU to read and write to SPI flash based
  50. storage.
  51. config DFU_SF_PART
  52. bool "MTD partition support for SPI flash back end"
  53. depends on DFU_SF && CMD_MTDPARTS
  54. default y
  55. help
  56. This option enables the support of "part" and "partubi" target in
  57. SPI flash DFU back end.
  58. config DFU_MTD
  59. bool "MTD back end for DFU"
  60. depends on DM_MTD
  61. depends on CMD_MTDPARTS
  62. help
  63. This option enables using DFU to read and write to on any MTD device.
  64. config DFU_VIRT
  65. bool "VIRTUAL flash back end for DFU"
  66. help
  67. This option enables using DFU to read and write to VIRTUAL device
  68. used at board level to manage specific behavior
  69. (OTP update for example).
  70. config SET_DFU_ALT_INFO
  71. bool "Dynamic set of DFU alternate information"
  72. help
  73. This option allows to call the function set_dfu_alt_info to
  74. dynamically build dfu_alt_info in board.
  75. endif
  76. endmenu