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
This commit is contained in:
Solomon Peachy 2024-11-02 14:47:32 -04:00
parent 04dc052a96
commit 4be6285444

View file

@ -111,10 +111,6 @@ static void init_volume(struct volumeinfo *vi, int drive, int part)
} }
#ifdef MAX_LOG_SECTOR_SIZE #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] = static uint16_t disk_sector_multiplier[NUM_DRIVES] =
{ [0 ... NUM_DRIVES-1] = 1 }; { [0 ... NUM_DRIVES-1] = 1 };