mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
04dc052a96
commit
4be6285444
1 changed files with 0 additions and 4 deletions
|
|
@ -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 };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue