forked from len0rd/rockbox
Also remove the fat_partition_types array.
If we aren't going to check for the partition type, we don't need the array of known FAT partition types. Original Author: Torne Wuff <torne@wolfpuppy.org.uk> Change-Id: I558d4287189408c513dfbca49e13906cdb7918b1
This commit is contained in:
parent
a2b8204718
commit
0d24a7176e
1 changed files with 0 additions and 11 deletions
|
|
@ -68,17 +68,6 @@
|
|||
(((uint32_t)array[pos+0] << 0) | \
|
||||
((uint32_t)array[pos+1] << 8))
|
||||
|
||||
static const unsigned char fat_partition_types[] =
|
||||
{
|
||||
0x0b, 0x1b, /* FAT32 + hidden variant */
|
||||
0x0c, 0x1c, /* FAT32 (LBA) + hidden variant */
|
||||
#ifdef HAVE_FAT16SUPPORT
|
||||
0x04, 0x14, /* FAT16 <= 32MB + hidden variant */
|
||||
0x06, 0x16, /* FAT16 > 32MB + hidden variant */
|
||||
0x0e, 0x1e, /* FAT16 (LBA) + hidden variant */
|
||||
#endif
|
||||
};
|
||||
|
||||
/* space for 4 partitions on 2 drives */
|
||||
static struct partinfo part[NUM_DRIVES*4];
|
||||
/* mounted to which drive (-1 if none) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue