]> git.sur5r.net Git - u-boot/commitdiff
part: efi: Add default number of partition entries for sunxi
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 14 Nov 2017 20:07:51 +0000 (21:07 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 7 Dec 2017 15:24:31 +0000 (16:24 +0100)
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>
disk/Kconfig

index f82beef6e68923776932fd6856308af25be19348..0446bb63ca7ee35bcb4cd3d698bfc10b35bddcbe 100644 (file)
@@ -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