summaryrefslogtreecommitdiff
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.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 @@
172/* Type of LCD : Samsung S6B33B2 */ 172/* Type of LCD : Samsung S6B33B2 */
173#define CONFIG_LCD LCD_C200 173#define CONFIG_LCD LCD_C200
174 174
175#ifndef BOOTLOADER
176#define HAVE_MULTIDRIVE 175#define HAVE_MULTIDRIVE
177#define NUM_DRIVES 2 176#define NUM_DRIVES 2
177
178#ifndef BOOTLOADER
178#define HAVE_HOTSWAP 179#define HAVE_HOTSWAP
179#endif /* BOOTLOADER */ 180#endif /* BOOTLOADER */
180 181
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 @@
8#define FIRMWARE_OFFSET_FILE_DATA 8 8#define FIRMWARE_OFFSET_FILE_DATA 8
9#define FIRMWARE_OFFSET_FILE_CRC 0 9#define FIRMWARE_OFFSET_FILE_CRC 0
10 10
11
12#ifndef BOOTLOADER
13#define HAVE_MULTIDRIVE 11#define HAVE_MULTIDRIVE
14#define NUM_DRIVES 2 12#define NUM_DRIVES 2
13
14#ifndef BOOTLOADER
15#define HAVE_HOTSWAP 15#define HAVE_HOTSWAP
16#endif 16#endif
17 17
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 @@
8#define FIRMWARE_OFFSET_FILE_DATA 8 8#define FIRMWARE_OFFSET_FILE_DATA 8
9#define FIRMWARE_OFFSET_FILE_CRC 0 9#define FIRMWARE_OFFSET_FILE_CRC 0
10 10
11
12#ifndef BOOTLOADER
13#define HAVE_MULTIDRIVE 11#define HAVE_MULTIDRIVE
14#define NUM_DRIVES 2 12#define NUM_DRIVES 2
13
14#ifndef BOOTLOADER
15#define HAVE_HOTSWAP 15#define HAVE_HOTSWAP
16#define HAVE_RDS_CAP 16#define HAVE_RDS_CAP
17#endif 17#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 @@
192#define FIRMWARE_OFFSET_FILE_CRC 0x0 192#define FIRMWARE_OFFSET_FILE_CRC 0x0
193#define FIRMWARE_OFFSET_FILE_DATA 0x8 193#define FIRMWARE_OFFSET_FILE_DATA 0x8
194 194
195#ifndef BOOTLOADER
196#define HAVE_MULTIDRIVE 195#define HAVE_MULTIDRIVE
197#define NUM_DRIVES 2 196#define NUM_DRIVES 2
197
198#ifndef BOOTLOADER
198#define HAVE_HOTSWAP 199#define HAVE_HOTSWAP
199#endif 200#endif
200 201
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 @@
193#define FIRMWARE_OFFSET_FILE_CRC 0x0 193#define FIRMWARE_OFFSET_FILE_CRC 0x0
194#define FIRMWARE_OFFSET_FILE_DATA 0x8 194#define FIRMWARE_OFFSET_FILE_DATA 0x8
195 195
196#ifndef BOOTLOADER
197#define HAVE_MULTIDRIVE 196#define HAVE_MULTIDRIVE
198#define NUM_DRIVES 2 197#define NUM_DRIVES 2
198
199#ifndef BOOTLOADER
199#define HAVE_HOTSWAP 200#define HAVE_HOTSWAP
200#endif 201#endif
201 202
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 @@
195#define FIRMWARE_OFFSET_FILE_CRC 0x0 195#define FIRMWARE_OFFSET_FILE_CRC 0x0
196#define FIRMWARE_OFFSET_FILE_DATA 0x8 196#define FIRMWARE_OFFSET_FILE_DATA 0x8
197 197
198#ifndef BOOTLOADER
199#define HAVE_MULTIDRIVE 198#define HAVE_MULTIDRIVE
200#define NUM_DRIVES 2 199#define NUM_DRIVES 2
200
201#ifndef BOOTLOADER
201#define HAVE_HOTSWAP 202#define HAVE_HOTSWAP
202#endif 203#endif
203 204