1
0
Fork 0
forked from len0rd/rockbox

remane hotswap.* to sdmmc.*. The contents have nothing at all to do with hotswapping things

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2010-06-05 21:12:16 +00:00
parent 8bd527eaa0
commit a0557b23f0
16 changed files with 15 additions and 17 deletions

View file

@ -64,7 +64,7 @@
#include "mas.h" #include "mas.h"
#include "eeprom_24cxx.h" #include "eeprom_24cxx.h"
#if (CONFIG_STORAGE & STORAGE_MMC) || (CONFIG_STORAGE & STORAGE_SD) #if (CONFIG_STORAGE & STORAGE_MMC) || (CONFIG_STORAGE & STORAGE_SD)
#include "hotswap.h" #include "sdmmc.h"
#endif #endif
#if (CONFIG_STORAGE & STORAGE_ATA) #if (CONFIG_STORAGE & STORAGE_ATA)
#include "ata.h" #include "ata.h"

View file

@ -40,7 +40,6 @@
#ifdef HAVE_HOTSWAP #ifdef HAVE_HOTSWAP
#include "storage.h" #include "storage.h"
#include "hotswap.h"
#include "dir.h" #include "dir.h"
#endif #endif
/* gui api */ /* gui api */

View file

@ -179,7 +179,7 @@ drivers/ramdisk.c
storage.c storage.c
drivers/fat.c drivers/fat.c
#if (CONFIG_STORAGE & STORAGE_MMC) || (CONFIG_STORAGE & STORAGE_SD) #if (CONFIG_STORAGE & STORAGE_MMC) || (CONFIG_STORAGE & STORAGE_SD)
hotswap.c sdmmc.c
#endif #endif
#endif /* SIMULATOR */ #endif /* SIMULATOR */

View file

@ -23,7 +23,7 @@
#include "debug.h" #include "debug.h"
#include "fat.h" #include "fat.h"
#ifdef HAVE_HOTSWAP #ifdef HAVE_HOTSWAP
#include "hotswap.h" #include "sdmmc.h" /* for card_enable_monitoring() */
#include "dir.h" /* for release_dirs() */ #include "dir.h" /* for release_dirs() */
#include "file.h" /* for release_files() */ #include "file.h" /* for release_files() */
#endif #endif

View file

@ -21,7 +21,7 @@
#include <stdbool.h> #include <stdbool.h>
#include "mmc.h" #include "mmc.h"
#include "ata_mmc.h" #include "ata_mmc.h"
#include "hotswap.h" #include "sdmmc.h"
#include "ata_idle_notify.h" #include "ata_idle_notify.h"
#include "kernel.h" #include "kernel.h"
#include "thread.h" #include "thread.h"

View file

@ -21,7 +21,7 @@
#include "config.h" #include "config.h"
#include "logf.h" #include "logf.h"
#include "hotswap.h" #include "sdmmc.h"
#include "storage.h" #include "storage.h"
static const unsigned char sd_mantissa[] = { /* *10 */ static const unsigned char sd_mantissa[] = { /* *10 */

View file

@ -18,8 +18,8 @@
* KIND, either express or implied. * KIND, either express or implied.
* *
****************************************************************************/ ****************************************************************************/
#ifndef __HOTSWAP_H__ #ifndef __SDMMC_H__
#define __HOTSWAP_H__ #define __SDMMC_H__
#include <stdbool.h> #include <stdbool.h>

View file

@ -23,7 +23,7 @@
#if (CONFIG_STORAGE & STORAGE_MMC) #if (CONFIG_STORAGE & STORAGE_MMC)
#include "ata_mmc.h" #include "ata_mmc.h"
#else #else
#include "hotswap.h" #include "sdmmc.h"
#endif #endif
/* helper function to extract n (<=32) bits from an arbitrary position. /* helper function to extract n (<=32) bits from an arbitrary position.

View file

@ -26,7 +26,7 @@
#include "fat.h" #include "fat.h"
#include "thread.h" #include "thread.h"
#include "led.h" #include "led.h"
#include "hotswap.h" #include "sdmmc.h"
#include "system.h" #include "system.h"
#include "cpu.h" #include "cpu.h"
#include <stdio.h> #include <stdio.h>

View file

@ -24,7 +24,7 @@
#include "fat.h" #include "fat.h"
#include "thread.h" #include "thread.h"
#include "led.h" #include "led.h"
#include "hotswap.h" #include "sdmmc.h"
#include "system.h" #include "system.h"
#include "kernel.h" #include "kernel.h"
#include "cpu.h" #include "cpu.h"

View file

@ -20,7 +20,7 @@
****************************************************************************/ ****************************************************************************/
#include "config.h" /* for HAVE_MULTIDRIVE */ #include "config.h" /* for HAVE_MULTIDRIVE */
#include "fat.h" #include "fat.h"
#include "hotswap.h" #include "sdmmc.h"
#ifdef HAVE_HOTSWAP #ifdef HAVE_HOTSWAP
#include "sd-pp-target.h" #include "sd-pp-target.h"
#endif #endif

View file

@ -31,7 +31,7 @@
#include "uart-s3c2440.h" #include "uart-s3c2440.h"
#endif #endif
#ifdef HAVE_HOTSWAP #ifdef HAVE_HOTSWAP
#include "hotswap.h" #include "sdmmc.h"
#include "disk.h" #include "disk.h"
#include "fat.h" #include "fat.h"
#endif #endif

View file

@ -22,7 +22,7 @@
#include "sd.h" #include "sd.h"
#include "system.h" #include "system.h"
#include <string.h> #include <string.h>
#include "hotswap.h" #include "sdmmc.h"
#include "storage.h" #include "storage.h"
#include "led.h" #include "led.h"
#include "thread.h" #include "thread.h"

View file

@ -27,7 +27,7 @@
#include "disk.h" #include "disk.h"
#include "fat.h" #include "fat.h"
#include "led.h" #include "led.h"
#include "hotswap.h" #include "sdmmc.h"
#include "logf.h" #include "logf.h"
#include "sd.h" #include "sd.h"
#include "system.h" #include "system.h"

View file

@ -23,7 +23,7 @@
#define ATA_SD_TARGET_H #define ATA_SD_TARGET_H
#include "inttypes.h" #include "inttypes.h"
#include "hotswap.h" #include "sdmmc.h"
#include "jz4740.h" #include "jz4740.h"
int _sd_read_sectors(unsigned long start, int count, void* buf); int _sd_read_sectors(unsigned long start, int count, void* buf);

View file

@ -26,7 +26,6 @@
/*#define LOGF_ENABLE*/ /*#define LOGF_ENABLE*/
#include "logf.h" #include "logf.h"
#include "storage.h" #include "storage.h"
#include "hotswap.h"
#include "disk.h" #include "disk.h"
/* Needed to get at the audio buffer */ /* Needed to get at the audio buffer */
#include "audio.h" #include "audio.h"