From 79ca6d4e3cf6fcd2f05cca0a703200394920741f Mon Sep 17 00:00:00 2001 From: Mihail Zenkov Date: Wed, 20 Apr 2016 15:53:33 +0000 Subject: [PATCH] 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 --- firmware/export/config/sansac200v2.h | 3 ++- firmware/export/config/sansaclipplus.h | 4 ++-- firmware/export/config/sansaclipzip.h | 4 ++-- firmware/export/config/sansae200v2.h | 3 ++- firmware/export/config/sansafuze.h | 3 ++- firmware/export/config/sansafuzev2.h | 3 ++- 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