Blame view

disk/Kconfig 4.13 KB
e274ef6b5   Patrick Delaunay   disk: convert CON...
1
2
3
4
5
6
  
  menu "Partition Types"
  
  config PARTITIONS
  	bool "Enable Partition Labels (disklabels) support"
  	default y
ab9e12f65   Alex Kiernan   spl: disk: usb: A...
7
8
9
10
  	select SPL_SPRINTF if SPL
  	select TPL_SPRINTF if TPL
  	select SPL_STRTO if SPL
  	select TPL_STRTO if TPL
e274ef6b5   Patrick Delaunay   disk: convert CON...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  	help
  	  Partition Labels (disklabels) Supported:
  	  Zero or more of the following:
  	  - CONFIG_MAC_PARTITION   Apple's MacOS partition table.
  	  - CONFIG_DOS_PARTITION   MS Dos partition table, traditional on the
  	                           Intel architecture, USB sticks, etc.
  	  - CONFIG_ISO_PARTITION   ISO partition table, used on CDROM etc.
  	  - CONFIG_EFI_PARTITION   GPT partition table, common when EFI is the
  	                           bootloader.  Note 2TB partition limit; see
  	                           disk/part_efi.c
  	  - CONFIG_MTD_PARTITIONS  Memory Technology Device partition table.
  	  If IDE or SCSI support is enabled (CONFIG_CMD_IDE or CONFIG_SCSI)
  	  you must configure support for at least one non-MTD partition type
  	  as well.
f18fa31cd   Patrick Delaunay   disk: convert CON...
25
26
27
  config MAC_PARTITION
  	bool "Enable Apple's MacOS partition table"
  	depends on PARTITIONS
f18fa31cd   Patrick Delaunay   disk: convert CON...
28
29
30
31
32
33
34
35
  	help
  	  Say Y here if you would like to use device under U-Boot which
  	  were partitioned on a Macintosh.
  
  config SPL_MAC_PARTITION
  	bool "Enable Apple's MacOS partition table for SPL"
  	depends on SPL && PARTITIONS
  	default y if MAC_PARTITION
b0cf73393   Patrick Delaunay   disk: convert CON...
36
37
38
39
  config DOS_PARTITION
  	bool "Enable MS Dos partition table"
  	depends on PARTITIONS
  	default y if DISTRO_DEFAULTS
936478e79   Tom Rini   SPARC: Remove
40
  	default y if x86 || CMD_FAT || USB_STORAGE
b0cf73393   Patrick Delaunay   disk: convert CON...
41
42
43
44
45
46
  	help
  	  traditional on the Intel architecture, USB sticks, etc.
  
  config SPL_DOS_PARTITION
  	bool "Enable MS Dos partition table for SPL"
  	depends on SPL && PARTITIONS
48313fe51   Andre Przywara   sunxi: Move commo...
47
  	default n if ARCH_SUNXI
b0cf73393   Patrick Delaunay   disk: convert CON...
48
  	default y if DOS_PARTITION
1acc00878   Patrick Delaunay   disk: convert CON...
49
50
51
52
  config ISO_PARTITION
  	bool "Enable ISO partition table"
  	depends on PARTITIONS
  	default y if DISTRO_DEFAULTS
936478e79   Tom Rini   SPARC: Remove
53
  	default y if MIPS || TEGRA
1acc00878   Patrick Delaunay   disk: convert CON...
54
55
56
57
  
  config SPL_ISO_PARTITION
  	bool "Enable ISO partition table for SPL"
  	depends on SPL && PARTITIONS
1acc00878   Patrick Delaunay   disk: convert CON...
58

863c5b6cd   Patrick Delaunay   disk: convert CON...
59
60
61
62
63
64
65
66
67
68
69
  config AMIGA_PARTITION
  	bool "Enable AMIGA partition table"
  	depends on PARTITIONS
  	help
  	  Say Y here if you would like to use device under U-Boot which
  	  were partitioned under AmigaOS.
  
  config SPL_AMIGA_PARTITION
  	bool "Enable AMIGA partition table for SPL"
  	depends on SPL && PARTITIONS
  	default y if AMIGA_PARTITION
bd42a9426   Patrick Delaunay   disk: convert CON...
70
71
72
73
74
  config EFI_PARTITION
  	bool "Enable EFI GPT partition table"
  	depends on PARTITIONS
  	default y if DISTRO_DEFAULTS
  	default y if TEGRA
a451bc27c   Adam Ford   Convert LIB_UUID ...
75
  	select LIB_UUID
bd42a9426   Patrick Delaunay   disk: convert CON...
76
77
78
79
80
  	help
  	  Say Y here if you would like to use device under U-Boot which
  	  were partitioned using EFI GPT.
  	  common when EFI is the bootloader.  Note 2TB partition limit;
  	  see disk/part_efi.c
4ce521977   Maxime Ripard   part: efi: Add a ...
81
82
83
  config EFI_PARTITION_ENTRIES_NUMBERS
  	int "Number of the EFI partition entries"
  	depends on EFI_PARTITION
5dc0256d1   Maxime Ripard   part: efi: Add de...
84
  	default 56 if ARCH_SUNXI
4ce521977   Maxime Ripard   part: efi: Add a ...
85
86
87
88
89
90
91
92
93
  	default 128
  	help
  	  Specify the number of partition entries in the GPT. This is
  	  meant to allow less than the standard specifies for devices
  	  that might need to place their first-stage bootloader in the
  	  middle of a regular GPT.
  
  	  If unsure, leave at 128 entries, which is the standard
  	  number.
02e43537b   Philipp Tomsich   part_efi: support...
94
95
96
97
98
99
100
101
102
103
104
105
  config EFI_PARTITION_ENTRIES_OFF
          int "Offset (in bytes) of the EFI partition entries"
  	depends on EFI_PARTITION
  	default 0
  	help
  	  Specify an earliest location (in bytes) where the partition
  	  entries may be located. This is meant to allow "punching a
  	  hole into a device" to create a gap for an SPL, its payload
  	  and the U-Boot environment.
  
  	  If unsure, leave at 0 (which will locate the partition
  	  entries at the first possible LBA following the GPT header).
bd42a9426   Patrick Delaunay   disk: convert CON...
106
107
108
  config SPL_EFI_PARTITION
  	bool "Enable EFI GPT partition table for SPL"
  	depends on  SPL && PARTITIONS
48313fe51   Andre Przywara   sunxi: Move commo...
109
  	default n if ARCH_SUNXI
bd42a9426   Patrick Delaunay   disk: convert CON...
110
  	default y if EFI_PARTITION
b331cd620   Patrick Delaunay   cmd, disk: conver...
111
112
113
114
115
  config PARTITION_UUIDS
  	bool "Enable support of UUID for partition"
  	depends on PARTITIONS
  	default y if DISTRO_DEFAULTS
  	default y if EFI_PARTITION
a451bc27c   Adam Ford   Convert LIB_UUID ...
116
  	select LIB_UUID
b331cd620   Patrick Delaunay   cmd, disk: conver...
117
118
119
120
121
122
123
  	help
  	  Activate the configuration of UUID for partition
  
  config SPL_PARTITION_UUIDS
  	bool "Enable support of UUID for partition in SPL"
  	depends on SPL && PARTITIONS
  	default y if SPL_EFI_PARTITION
aed8fdaae   Patrick Delaunay   disk: convert CON...
124
125
126
127
128
129
130
  config PARTITION_TYPE_GUID
  	bool "Enable support of GUID for partition type"
  	depends on PARTITIONS
  	depends on EFI_PARTITION
  	help
  	  Activate the configuration of GUID type
  	  for EFI partition
e274ef6b5   Patrick Delaunay   disk: convert CON...
131
  endmenu