summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/samsungypr0.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-02-07 18:30:50 +0100
committerThomas Martitz <kugel@rockbox.org>2014-02-23 20:23:52 +0100
commitf6c26d33a4e15d966597bc9d66c1f33328a750af (patch)
tree5e0e4d0189c856010a78ce0b79cdc3c3cb5c1354 /firmware/export/config/samsungypr0.h
parent46137ebd4d59d7a91d0b8d98d846a3fd2ec70f5c (diff)
downloadrockbox-f6c26d33a4e15d966597bc9d66c1f33328a750af.tar.gz
rockbox-f6c26d33a4e15d966597bc9d66c1f33328a750af.zip
samsungypr0: Support or mounting the microsd
A thread polls the appropriate GPIO pin for sd card presence and mounts using the mount system call. Change-Id: I31ab41c4120f4af64eb6998b7e7b6f9051585efb
Diffstat (limited to 'firmware/export/config/samsungypr0.h')
-rw-r--r--firmware/export/config/samsungypr0.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h
index 361c9697c5..bed5a2f977 100644
--- a/firmware/export/config/samsungypr0.h
+++ b/firmware/export/config/samsungypr0.h
@@ -161,6 +161,10 @@
/* This folder resides in the ReadOnly CRAMFS. It is binded to /mnt/media0/.rockbox */
#define BOOTDIR "/.rockbox"
-/* No special storage */
-#define CONFIG_STORAGE STORAGE_HOSTFS
+/* External SD card can be mounted */
+#define CONFIG_STORAGE (STORAGE_HOSTFS|STORAGE_SD)
+#define HAVE_MULTIDRIVE
+#define NUM_DRIVES 2
+#define HAVE_HOTSWAP
#define HAVE_STORAGE_FLUSH
+#define MULTIDRIVE_DIR "/mnt/mmc"