aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHector Martin2024-04-18 21:00:25 +0200
committerTom Rini2024-04-22 11:02:08 -0600
commit35361d8b4556cc0b6d4b4299412b41f074caa4db (patch)
tree40efe25ec6e091cb6d9e0d1e3b404970045c32af
parent25049ad560826f7dc1c4740883b0016014a59789 (diff)
apple_m1_defconfig: Turn on CONFIG_SYS_64BIT_LBA
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>
-rw-r--r--configs/apple_m1_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig
index e00d72e8beb..31d966f0ab8 100644
--- a/configs/apple_m1_defconfig
+++ b/configs/apple_m1_defconfig
@@ -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