diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-17 16:57:51 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-17 18:38:49 -0400 |
commit | d8d37ffdb8bed39df5d021afa9e09bf087b45d0d (patch) | |
tree | eaea28432d9a76c98d69470c3c8a8bd0b4e17282 /firmware/export/config.h | |
parent | 0a4a920029bfb8194c37870b7e6d8e60cd7c8ef9 (diff) | |
download | rockbox-d8d37ffdb8bed39df5d021afa9e09bf087b45d0d.tar.gz rockbox-d8d37ffdb8bed39df5d021afa9e09bf087b45d0d.zip |
Define a USB storage type, and hook it up for hosted targets
Change-Id: I56363c989139c7edf0b2c67b0aac9ef1adfacba2
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 7e8d751090..547c359d8d 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -32,14 +32,16 @@ | |||
32 | #define STORAGE_SD_NUM 2 | 32 | #define STORAGE_SD_NUM 2 |
33 | #define STORAGE_NAND_NUM 3 | 33 | #define STORAGE_NAND_NUM 3 |
34 | #define STORAGE_RAMDISK_NUM 4 | 34 | #define STORAGE_RAMDISK_NUM 4 |
35 | #define STORAGE_HOSTFS_NUM 5 | 35 | #define STORAGE_USB_NUM 5 |
36 | #define STORAGE_NUM_TYPES 6 | 36 | #define STORAGE_HOSTFS_NUM 6 |
37 | #define STORAGE_NUM_TYPES 7 | ||
37 | 38 | ||
38 | #define STORAGE_ATA (1 << STORAGE_ATA_NUM) | 39 | #define STORAGE_ATA (1 << STORAGE_ATA_NUM) |
39 | #define STORAGE_MMC (1 << STORAGE_MMC_NUM) | 40 | #define STORAGE_MMC (1 << STORAGE_MMC_NUM) |
40 | #define STORAGE_SD (1 << STORAGE_SD_NUM) | 41 | #define STORAGE_SD (1 << STORAGE_SD_NUM) |
41 | #define STORAGE_NAND (1 << STORAGE_NAND_NUM) | 42 | #define STORAGE_NAND (1 << STORAGE_NAND_NUM) |
42 | #define STORAGE_RAMDISK (1 << STORAGE_RAMDISK_NUM) | 43 | #define STORAGE_RAMDISK (1 << STORAGE_RAMDISK_NUM) |
44 | #define STORAGE_USB (1 << STORAGE_USB_NUM) | ||
43 | /* meant for APPLICATION targets (implicit for SIMULATOR) */ | 45 | /* meant for APPLICATION targets (implicit for SIMULATOR) */ |
44 | #define STORAGE_HOSTFS (1 << STORAGE_HOSTFS_NUM) | 46 | #define STORAGE_HOSTFS (1 << STORAGE_HOSTFS_NUM) |
45 | 47 | ||