summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/samsungypr/ypr0/system-ypr0.c')
-rw-r--r--firmware/target/hosted/samsungypr/ypr0/system-ypr0.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
index a21c82b1f2..9cc307073b 100644
--- a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
+++ b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
@@ -94,6 +94,20 @@ bool hostfs_present(IF_MD_NONVOID(int drive))
return true; /* internal: always present */
}
+#ifdef HAVE_MULTIDRIVE
+int volume_drive(int drive)
+{
+ return drive;
+}
+#endif /* HAVE_MULTIDRIVE */
+
+#ifdef CONFIG_STORAGE_MULTI
+int hostfs_driver_type(int drive)
+{
+ return drive > 0 ? STORAGE_SD_NUM : STORAGE_HOSTFS_NUM;
+}
+#endif /* CONFIG_STORAGE_MULTI */
+
#ifdef HAVE_HOTSWAP
bool volume_removable(int volume)
{