From 4be628544418641add9f8efd44a6b7cf1ed916bc Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 2 Nov 2024 14:47:32 -0400 Subject: disk: MAX_LOG_SECTOR_SIZE also applies to a few non-ATA targets Fuze+, native Sonys, and some of the Zens use 2K sectoring from the partition/filesystem perspective, even though the underlying storage used 512-byte sectoring. Change-Id: I247d8cae2582c63ec1d4dda0fb225b1a25c8e16a --- firmware/common/disk.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 9c78411957..958f09755a 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -111,10 +111,6 @@ static void init_volume(struct volumeinfo *vi, int drive, int part) } #ifdef MAX_LOG_SECTOR_SIZE -#if !(CONFIG_STORAGE & STORAGE_ATA) -#error "MAX_LOG_SECTOR_SIZE only supported for STORAGE_ATA" -#endif - static uint16_t disk_sector_multiplier[NUM_DRIVES] = { [0 ... NUM_DRIVES-1] = 1 }; -- cgit v1.2.3