Kconfig 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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 y if DOS_PARTITION
  44. config ISO_PARTITION
  45. bool "Enable ISO partition table"
  46. depends on PARTITIONS
  47. default y if DISTRO_DEFAULTS
  48. default y if MIPS || TEGRA
  49. config SPL_ISO_PARTITION
  50. bool "Enable ISO partition table for SPL"
  51. depends on SPL && PARTITIONS
  52. config AMIGA_PARTITION
  53. bool "Enable AMIGA partition table"
  54. depends on PARTITIONS
  55. help
  56. Say Y here if you would like to use device under U-Boot which
  57. were partitioned under AmigaOS.
  58. config SPL_AMIGA_PARTITION
  59. bool "Enable AMIGA partition table for SPL"
  60. depends on SPL && PARTITIONS
  61. default y if AMIGA_PARTITION
  62. config EFI_PARTITION
  63. bool "Enable EFI GPT partition table"
  64. depends on PARTITIONS
  65. default y if DISTRO_DEFAULTS
  66. default y if TEGRA
  67. select LIB_UUID
  68. help
  69. Say Y here if you would like to use device under U-Boot which
  70. were partitioned using EFI GPT.
  71. common when EFI is the bootloader. Note 2TB partition limit;
  72. see disk/part_efi.c
  73. config EFI_PARTITION_ENTRIES_NUMBERS
  74. int "Number of the EFI partition entries"
  75. depends on EFI_PARTITION
  76. default 56 if ARCH_SUNXI
  77. default 128
  78. help
  79. Specify the number of partition entries in the GPT. This is
  80. meant to allow less than the standard specifies for devices
  81. that might need to place their first-stage bootloader in the
  82. middle of a regular GPT.
  83. If unsure, leave at 128 entries, which is the standard
  84. number.
  85. config EFI_PARTITION_ENTRIES_OFF
  86. int "Offset (in bytes) of the EFI partition entries"
  87. depends on EFI_PARTITION
  88. default 0
  89. help
  90. Specify an earliest location (in bytes) where the partition
  91. entries may be located. This is meant to allow "punching a
  92. hole into a device" to create a gap for an SPL, its payload
  93. and the U-Boot environment.
  94. If unsure, leave at 0 (which will locate the partition
  95. entries at the first possible LBA following the GPT header).
  96. config SPL_EFI_PARTITION
  97. bool "Enable EFI GPT partition table for SPL"
  98. depends on SPL && PARTITIONS
  99. default y if EFI_PARTITION
  100. config PARTITION_UUIDS
  101. bool "Enable support of UUID for partition"
  102. depends on PARTITIONS
  103. default y if DISTRO_DEFAULTS
  104. default y if EFI_PARTITION
  105. select LIB_UUID
  106. help
  107. Activate the configuration of UUID for partition
  108. config SPL_PARTITION_UUIDS
  109. bool "Enable support of UUID for partition in SPL"
  110. depends on SPL && PARTITIONS
  111. default y if SPL_EFI_PARTITION
  112. config PARTITION_TYPE_GUID
  113. bool "Enable support of GUID for partition type"
  114. depends on PARTITIONS
  115. depends on EFI_PARTITION
  116. help
  117. Activate the configuration of GUID type
  118. for EFI partition
  119. endmenu