From d8d37ffdb8bed39df5d021afa9e09bf087b45d0d Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 17 Oct 2020 16:57:51 -0400 Subject: Define a USB storage type, and hook it up for hosted targets Change-Id: I56363c989139c7edf0b2c67b0aac9ef1adfacba2 --- firmware/export/hostfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/export/hostfs.h') diff --git a/firmware/export/hostfs.h b/firmware/export/hostfs.h index fa916870f3..c0fe85236e 100644 --- a/firmware/export/hostfs.h +++ b/firmware/export/hostfs.h @@ -54,6 +54,8 @@ extern int hostfs_driver_type(int drive); # define hostfs_driver_type(drive) (STORAGE_ATA_NUM) # elif (CONFIG_STORAGE & STORAGE_SD) # define hostfs_driver_type(drive) (STORAGE_SD_NUM) +# elif (CONFIG_STORAGE & STORAGE_USB) +# define hostfs_driver_type(drive) (STORAGE_USB_NUM) # elif (CONFIG_STORAGE & STORAGE_MMC) # define hostfs_driver_type(drive) (STORAGE_MMC_NUM) # elif (CONFIG_STORAGE & STORAGE_NAND) -- cgit v1.2.3