summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-c200.h3
-rw-r--r--firmware/export/config-e200.h3
-rw-r--r--firmware/export/hotswap.h6
3 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/config-c200.h b/firmware/export/config-c200.h
index a0bb1aeb2c..9f3e78f611 100644
--- a/firmware/export/config-c200.h
+++ b/firmware/export/config-c200.h
@@ -113,6 +113,9 @@
113/* define this if you have a flash memory storage */ 113/* define this if you have a flash memory storage */
114#define HAVE_FLASH_STORAGE 114#define HAVE_FLASH_STORAGE
115 115
116/* define this if the flash memory uses the SecureDigital Memory Card protocol */
117#define HAVE_ATA_SD
118
116#define BATTERY_CAPACITY_DEFAULT 530 /* default battery capacity */ 119#define BATTERY_CAPACITY_DEFAULT 530 /* default battery capacity */
117#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */ 120#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */
118#define BATTERY_CAPACITY_MAX 530 /* max. capacity selectable */ 121#define BATTERY_CAPACITY_MAX 530 /* max. capacity selectable */
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h
index c49ee23841..8d42dd2618 100644
--- a/firmware/export/config-e200.h
+++ b/firmware/export/config-e200.h
@@ -108,6 +108,9 @@
108/* define this if you have a flash memory storage */ 108/* define this if you have a flash memory storage */
109#define HAVE_FLASH_STORAGE 109#define HAVE_FLASH_STORAGE
110 110
111/* define this if the flash memory uses the SecureDigital Memory Card protocol */
112#define HAVE_ATA_SD
113
111#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */ 114#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
112#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */ 115#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
113#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */ 116#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
diff --git a/firmware/export/hotswap.h b/firmware/export/hotswap.h
index 7f0aa80fda..f54423325d 100644
--- a/firmware/export/hotswap.h
+++ b/firmware/export/hotswap.h
@@ -39,13 +39,13 @@ typedef struct
39 unsigned int block_exp; /* block size exponent */ 39 unsigned int block_exp; /* block size exponent */
40} tCardInfo; 40} tCardInfo;
41 41
42#ifdef TARGET_TREE 42#ifdef HAVE_ATA_SD
43#ifdef HAVE_HOTSWAP
44#include "ata-sd-target.h" 43#include "ata-sd-target.h"
45#endif
46#define card_detect card_detect_target 44#define card_detect card_detect_target
47#define card_get_info card_get_info_target 45#define card_get_info card_get_info_target
46#ifdef HAVE_HOTSWAP
48#define card_enable_monitoring card_enable_monitoring_target 47#define card_enable_monitoring card_enable_monitoring_target
48#endif
49#else /* HAVE_MMC */ 49#else /* HAVE_MMC */
50#include "ata_mmc.h" 50#include "ata_mmc.h"
51#define card_detect mmc_detect 51#define card_detect mmc_detect