summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-11-14 21:07:51 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-12-07 16:24:31 +0100
commit5dc0256d1210cb38ba11b22a8eb2ccc101460963 (patch)
treebd9bac7ddab0691960bd833d569f5e7632155d37 /disk
parent4ce521977f79a883f9c47984ef675c4b2267b7ad (diff)
part: efi: Add default number of partition entries for sunxi
The SPL must be located at 8kB (16 sectors) offset. That's right in the middle of the GPT, so we need to define a smaller amount of partitions to accomodate for that location. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'disk')
-rw-r--r--disk/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk/Kconfig b/disk/Kconfig
index f82beef6e6..0446bb63ca 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -81,6 +81,7 @@ config EFI_PARTITION
config EFI_PARTITION_ENTRIES_NUMBERS
int "Number of the EFI partition entries"
depends on EFI_PARTITION
+ default 56 if ARCH_SUNXI
default 128
help
Specify the number of partition entries in the GPT. This is