Kconfig 4.1 KB

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