1
0
Fork 0
forked from len0rd/rockbox

Define a USB storage type, and hook it up for hosted targets

Change-Id: I56363c989139c7edf0b2c67b0aac9ef1adfacba2
This commit is contained in:
Solomon Peachy 2020-10-17 16:57:51 -04:00
parent 0a4a920029
commit d8d37ffdb8
7 changed files with 35 additions and 4 deletions

View file

@ -32,14 +32,16 @@
#define STORAGE_SD_NUM 2
#define STORAGE_NAND_NUM 3
#define STORAGE_RAMDISK_NUM 4
#define STORAGE_HOSTFS_NUM 5
#define STORAGE_NUM_TYPES 6
#define STORAGE_USB_NUM 5
#define STORAGE_HOSTFS_NUM 6
#define STORAGE_NUM_TYPES 7
#define STORAGE_ATA (1 << STORAGE_ATA_NUM)
#define STORAGE_MMC (1 << STORAGE_MMC_NUM)
#define STORAGE_SD (1 << STORAGE_SD_NUM)
#define STORAGE_NAND (1 << STORAGE_NAND_NUM)
#define STORAGE_RAMDISK (1 << STORAGE_RAMDISK_NUM)
#define STORAGE_USB (1 << STORAGE_USB_NUM)
/* meant for APPLICATION targets (implicit for SIMULATOR) */
#define STORAGE_HOSTFS (1 << STORAGE_HOSTFS_NUM)