Kconfig 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. menu "Partition Types"
  2. config PARTITIONS
  3. bool
  4. help
  5. Partition Labels (disklabels) Supported:
  6. Zero or more of the following:
  7. - CONFIG_MAC_PARTITION Apple's MacOS partition table.
  8. - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the
  9. Intel architecture, USB sticks, etc.
  10. - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc.
  11. - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the
  12. bootloader. Note 2TB partition limit; see
  13. disk/part_efi.c
  14. - CONFIG_MTD_PARTITIONS Memory Technology Device partition table.
  15. If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI)
  16. you must configure support for at least one non-MTD partition type
  17. as well.
  18. config SPL_PARTITIONS
  19. bool
  20. select SPL_SPRINTF
  21. select SPL_STRTO
  22. help
  23. Enable this for base partition support in SPL. The required
  24. partition table types shold be enabled separately. This adds a
  25. small amount of size to SPL, typically 500 bytes.
  26. config TPL_PARTITIONS
  27. bool
  28. select TPL_SPRINTF
  29. select TPL_STRTO
  30. help
  31. Enable this for base partition support in TPL. The required
  32. partition table types shold be enabled separately. This adds a
  33. small amount of size to TPL, typically 500 bytes.
  34. config MAC_PARTITION
  35. bool "Enable Apple's MacOS partition table"
  36. select PARTITIONS
  37. help
  38. Say Y here if you would like to use device under U-Boot which
  39. were partitioned on a Macintosh.
  40. config SPL_MAC_PARTITION
  41. bool "Enable Apple's MacOS partition table for SPL"
  42. depends on SPL
  43. default y if MAC_PARTITION
  44. select SPL_PARTITIONS
  45. config DOS_PARTITION
  46. bool "Enable MS Dos partition table"
  47. default y if BOOT_DEFAULTS
  48. default y if x86 || CMD_FAT || USB_STORAGE
  49. select PARTITIONS
  50. help
  51. traditional on the Intel architecture, USB sticks, etc.
  52. config SPL_DOS_PARTITION
  53. bool "Enable MS Dos partition table for SPL"
  54. depends on SPL
  55. default n if ARCH_MVEBU
  56. default n if ARCH_SUNXI
  57. default y if DOS_PARTITION
  58. select SPL_PARTITIONS
  59. config ISO_PARTITION
  60. bool "Enable ISO partition table"
  61. default y if BOOT_DEFAULTS
  62. default y if MIPS || ARCH_TEGRA
  63. select PARTITIONS
  64. config SPL_ISO_PARTITION
  65. bool "Enable ISO partition table for SPL"
  66. depends on SPL
  67. select SPL_PARTITIONS
  68. config AMIGA_PARTITION
  69. bool "Enable AMIGA partition table"
  70. select PARTITIONS
  71. help
  72. Say Y here if you would like to use device under U-Boot which
  73. were partitioned under AmigaOS.
  74. config SPL_AMIGA_PARTITION
  75. bool "Enable AMIGA partition table for SPL"
  76. depends on SPL
  77. default y if AMIGA_PARTITION
  78. select SPL_PARTITIONS
  79. config EFI_PARTITION
  80. bool "Enable EFI GPT partition table"
  81. default y if BOOT_DEFAULTS
  82. default y if ARCH_TEGRA
  83. select PARTITIONS
  84. select LIB_UUID
  85. help
  86. Say Y here if you would like to use device under U-Boot which
  87. were partitioned using EFI GPT.
  88. common when EFI is the bootloader. Note 2TB partition limit;
  89. see disk/part_efi.c
  90. config EFI_PARTITION_ENTRIES_NUMBERS
  91. int "Number of the EFI partition entries"
  92. depends on EFI_PARTITION
  93. default 56 if ARCH_SUNXI
  94. default 128
  95. help
  96. Specify the number of partition entries in the GPT. This is
  97. meant to allow less than the standard specifies for devices
  98. that might need to place their first-stage bootloader in the
  99. middle of a regular GPT.
  100. If unsure, leave at 128 entries, which is the standard
  101. number.
  102. config EFI_PARTITION_ENTRIES_OFF
  103. int "Offset (in bytes) of the EFI partition entries"
  104. depends on EFI_PARTITION
  105. default 0
  106. help
  107. Specify an earliest location (in bytes) where the partition
  108. entries may be located. This is meant to allow "punching a
  109. hole into a device" to create a gap for an SPL, its payload
  110. and the U-Boot environment.
  111. If unsure, leave at 0 (which will locate the partition
  112. entries at the first possible LBA following the GPT header).
  113. config SPL_EFI_PARTITION
  114. bool "Enable EFI GPT partition table for SPL"
  115. depends on SPL
  116. default n if ARCH_MVEBU
  117. default n if ARCH_SUNXI
  118. default y if EFI_PARTITION
  119. select SPL_PARTITIONS
  120. config PARTITION_UUIDS
  121. bool "Enable support of UUID for partition"
  122. depends on PARTITIONS
  123. default y if BOOT_DEFAULTS
  124. default y if EFI_PARTITION
  125. select LIB_UUID
  126. help
  127. Activate the configuration of UUID for partition
  128. config SPL_PARTITION_UUIDS
  129. bool "Enable support of UUID for partition in SPL"
  130. depends on SPL_PARTITIONS
  131. default y if SPL_EFI_PARTITION
  132. select SPL_LIB_UUID
  133. config PARTITION_TYPE_GUID
  134. bool "Enable support of GUID for partition type"
  135. depends on EFI_PARTITION
  136. help
  137. Activate the configuration of GUID type
  138. for EFI partition
  139. config SPL_PARTITION_TYPE_GUID
  140. bool "Enable support of GUID for partition type (SPL)"
  141. depends on SPL_EFI_PARTITION
  142. help
  143. Activate the configuration of GUID type
  144. for EFI partition
  145. endmenu