Przeglądaj źródła

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>
Maxime Ripard 6 lat temu
rodzic
commit
5dc0256d12
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      disk/Kconfig

+ 1 - 0
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