summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-04-20 15:53:33 +0000
committerMihail Zenkov <mihail.zenkov@gmail.com>2016-04-20 15:53:33 +0000
commit79ca6d4e3cf6fcd2f05cca0a703200394920741f (patch)
treea731fa7107446520bea8818b99d067c647c2565a
parent6548dc294357f4f13a17bf34206038a3a93f1ff7 (diff)
downloadrockbox-79ca6d4e3cf6fcd2f05cca0a703200394920741f.tar.gz
rockbox-79ca6d4e3cf6fcd2f05cca0a703200394920741f.tar.bz2
rockbox-79ca6d4e3cf6fcd2f05cca0a703200394920741f.zip
AMS: enable SD card support in bootloader
With this changes rockbox can be loaded from SD card when internal storage can't be mount (due to hardware or software problem). Change-Id: I32b20d3f341566364def747a708a54ba6b4a7f8b
-rw-r--r--firmware/export/config/sansac200v2.h3
-rw-r--r--firmware/export/config/sansaclipplus.h4
-rw-r--r--firmware/export/config/sansaclipzip.h4
-rw-r--r--firmware/export/config/sansae200v2.h3
-rw-r--r--firmware/export/config/sansafuze.h3
-rw-r--r--firmware/export/config/sansafuzev2.h3
6 files changed, 12 insertions, 8 deletions
diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h
index e3bb54f164..a51f9e3b00 100644
--- a/firmware/export/config/sansac200v2.h
+++ b/firmware/export/config/sansac200v2.h
@@ -172,9 +172,10 @@
/* Type of LCD : Samsung S6B33B2 */
#define CONFIG_LCD LCD_C200
-#ifndef BOOTLOADER
#define HAVE_MULTIDRIVE
#define NUM_DRIVES 2
+
+#ifndef BOOTLOADER
#define HAVE_HOTSWAP
#endif /* BOOTLOADER */
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index b1b33e6284..8cfd4e8b48 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -8,10 +8,10 @@
#define FIRMWARE_OFFSET_FILE_DATA 8
#define FIRMWARE_OFFSET_FILE_CRC 0
-
-#ifndef BOOTLOADER
#define HAVE_MULTIDRIVE
#define NUM_DRIVES 2
+
+#ifndef BOOTLOADER
#define HAVE_HOTSWAP
#endif
diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h
index 67b67c05c5..e6a496cce4 100644
--- a/firmware/export/config/sansaclipzip.h
+++ b/firmware/export/config/sansaclipzip.h
@@ -8,10 +8,10 @@
#define FIRMWARE_OFFSET_FILE_DATA 8
#define FIRMWARE_OFFSET_FILE_CRC 0
-
-#ifndef BOOTLOADER
#define HAVE_MULTIDRIVE
#define NUM_DRIVES 2
+
+#ifndef BOOTLOADER
#define HAVE_HOTSWAP
#define HAVE_RDS_CAP
#endif
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index 1e76bf58d7..96b51f4e12 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -192,9 +192,10 @@
#define FIRMWARE_OFFSET_FILE_CRC 0x0
#define FIRMWARE_OFFSET_FILE_DATA 0x8
-#ifndef BOOTLOADER
#define HAVE_MULTIDRIVE
#define NUM_DRIVES 2
+
+#ifndef BOOTLOADER
#define HAVE_HOTSWAP
#endif
diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h
index 80c4e441fc..528e99080e 100644
--- a/firmware/export/config/sansafuze.h
+++ b/firmware/export/config/sansafuze.h
@@ -193,9 +193,10 @@
#define FIRMWARE_OFFSET_FILE_CRC 0x0
#define FIRMWARE_OFFSET_FILE_DATA 0x8
-#ifndef BOOTLOADER
#define HAVE_MULTIDRIVE
#define NUM_DRIVES 2
+
+#ifndef BOOTLOADER
#define HAVE_HOTSWAP
#endif
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index 62517c0d0c..d8b2351f92 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -195,9 +195,10 @@
#define FIRMWARE_OFFSET_FILE_CRC 0x0
#define FIRMWARE_OFFSET_FILE_DATA 0x8
-#ifndef BOOTLOADER
#define HAVE_MULTIDRIVE
#define NUM_DRIVES 2
+
+#ifndef BOOTLOADER
#define HAVE_HOTSWAP
#endif