Kconfig 2.2 KB

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