[v2,2/4] part: efi: Add default number of partition entries for sunxi

Message ID ac8c3a76327ef32e460fe1f12b2817b06ee091be.1512489372.git-series.maxime.ripard@free-electrons.com
State Accepted
Commit 5dc0256d1210cb38ba11b22a8eb2ccc101460963
Headers show
  • sunxi: Ease eMMC usage and flashing
Related show

Commit Message

Maxime Ripard Dec. 5, 2017, 3:56 p.m.
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 | 1 +
 1 file changed, 1 insertion(+)


diff --git a/disk/Kconfig b/disk/Kconfig
index f82beef6e689..0446bb63ca7e 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -81,6 +81,7 @@  config EFI_PARTITION
 	int "Number of the EFI partition entries"
 	depends on EFI_PARTITION
+	default 56 if ARCH_SUNXI
 	default 128
 	  Specify the number of partition entries in the GPT. This is