summaryrefslogtreecommitdiff
path: root/firmware/export/hostfs.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-16 23:29:50 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 00:03:45 +0200
commita0fca0c7bf3bd1c121667a1e66614646a6b96752 (patch)
treee5e53563357dd75a057531cad5f293f99c26fa57 /firmware/export/hostfs.h
parentac57f96838b53e574477d13bf41bc54711a70c21 (diff)
downloadrockbox-a0fca0c7bf3bd1c121667a1e66614646a6b96752.tar.gz
rockbox-a0fca0c7bf3bd1c121667a1e66614646a6b96752.zip
Add simulator support for the A860
This requires a few changes unrelated to the A860 because configure unsets APPLICATION but the NWZ is an application! Change-Id: Id91aa23193383ac95886b281653da5286edd9caf
Diffstat (limited to 'firmware/export/hostfs.h')
-rw-r--r--firmware/export/hostfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/hostfs.h b/firmware/export/hostfs.h
index a24d009ca9..fa916870f3 100644
--- a/firmware/export/hostfs.h
+++ b/firmware/export/hostfs.h
@@ -60,6 +60,9 @@ extern int hostfs_driver_type(int drive);
60# define hostfs_driver_type(drive) (STORAGE_NAND_NUM) 60# define hostfs_driver_type(drive) (STORAGE_NAND_NUM)
61# elif (CONFIG_STORAGE & STORAGE_RAMDISK) 61# elif (CONFIG_STORAGE & STORAGE_RAMDISK)
62# define hostfs_driver_type(drive) (STORAGE_RAMDISK_NUM) 62# define hostfs_driver_type(drive) (STORAGE_RAMDISK_NUM)
63/* we may have hostfs without application when building sims for applications! */
64# elif (CONFIG_STORAGE & STORAGE_HOSTFS)
65# define hostfs_driver_type(drive) (STORAGE_HOSTFS_NUM)
63# else 66# else
64# error Unknown storage driver 67# error Unknown storage driver
65# endif /* CONFIG_STORAGE */ 68# endif /* CONFIG_STORAGE */