]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apple_m1_defconfig: Turn on CONFIG_SYS_64BIT_LBA
authorHector Martin <marcan@marcan.st>
Thu, 18 Apr 2024 19:00:25 +0000 (21:00 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2024 17:02:08 +0000 (11:02 -0600)
This makes USB HDDs >2TiB work. The only reason this hasn't bitten us
for the internal NVMe yet is the 4K sector size, because the largest SSD
Apple sells is 8TB and we can handle up to 16TiB with that sector size.
Close call.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Janne Grunau <j@jannau.net>
configs/apple_m1_defconfig

index e00d72e8beb00c810f18a96c922712cd58eab883..31d966f0ab8eadb82f47e4ebdaa826c09e71e8a7 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_SYS_PBSIZE=276
 CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_BOARD_LATE_INIT=y
 # CONFIG_NET is not set
+CONFIG_SYS_64BIT_LBA=y
 CONFIG_APPLE_SPI_KEYB=y
 # CONFIG_MMC is not set
 CONFIG_NVME_APPLE=y