diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/mmc.h | 4 | ||||
-rw-r--r-- | firmware/export/nand.h | 4 | ||||
-rw-r--r-- | firmware/export/ramdisk.h | 4 | ||||
-rw-r--r-- | firmware/export/sd.h | 4 | ||||
-rw-r--r-- | firmware/export/storage.h | 18 |
5 files changed, 0 insertions, 34 deletions
diff --git a/firmware/export/mmc.h b/firmware/export/mmc.h index 0d99fac0ca..06d99d219e 100644 --- a/firmware/export/mmc.h +++ b/firmware/export/mmc.h | |||
@@ -40,10 +40,6 @@ int mmc_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const v | |||
40 | void mmc_spin(void); | 40 | void mmc_spin(void); |
41 | int mmc_spinup_time(void); | 41 | int mmc_spinup_time(void); |
42 | 42 | ||
43 | #if (CONFIG_LED == LED_REAL) | ||
44 | void mmc_set_led_enabled(bool enabled); | ||
45 | #endif | ||
46 | |||
47 | #ifdef STORAGE_GET_INFO | 43 | #ifdef STORAGE_GET_INFO |
48 | void mmc_get_info(IF_MV2(int drive,) struct storage_info *info); | 44 | void mmc_get_info(IF_MV2(int drive,) struct storage_info *info); |
49 | #endif | 45 | #endif |
diff --git a/firmware/export/nand.h b/firmware/export/nand.h index 1757a1421a..a5b0a1ceee 100644 --- a/firmware/export/nand.h +++ b/firmware/export/nand.h | |||
@@ -38,10 +38,6 @@ int nand_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* b | |||
38 | int nand_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); | 38 | int nand_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); |
39 | void nand_spin(void); | 39 | void nand_spin(void); |
40 | 40 | ||
41 | #if (CONFIG_LED == LED_REAL) | ||
42 | void nand_set_led_enabled(bool enabled); | ||
43 | #endif | ||
44 | |||
45 | #ifdef STORAGE_GET_INFO | 41 | #ifdef STORAGE_GET_INFO |
46 | void nand_get_info(IF_MV2(int drive,) struct storage_info *info); | 42 | void nand_get_info(IF_MV2(int drive,) struct storage_info *info); |
47 | #endif | 43 | #endif |
diff --git a/firmware/export/ramdisk.h b/firmware/export/ramdisk.h index 5fb78ed386..a0c011fadd 100644 --- a/firmware/export/ramdisk.h +++ b/firmware/export/ramdisk.h | |||
@@ -39,10 +39,6 @@ int ramdisk_write_sectors(IF_MV2(int drive,) unsigned long start, int count, con | |||
39 | void ramdisk_spin(void); | 39 | void ramdisk_spin(void); |
40 | void ramdisk_sleepnow(void); | 40 | void ramdisk_sleepnow(void); |
41 | 41 | ||
42 | #if (CONFIG_LED == LED_REAL) | ||
43 | void ramdisk_set_led_enabled(bool enabled); | ||
44 | #endif | ||
45 | |||
46 | #ifdef STORAGE_GET_INFO | 42 | #ifdef STORAGE_GET_INFO |
47 | void ramdisk_get_info(IF_MV2(int drive,) struct storage_info *info); | 43 | void ramdisk_get_info(IF_MV2(int drive,) struct storage_info *info); |
48 | #endif | 44 | #endif |
diff --git a/firmware/export/sd.h b/firmware/export/sd.h index 8f1c8fe413..11923fdc92 100644 --- a/firmware/export/sd.h +++ b/firmware/export/sd.h | |||
@@ -38,10 +38,6 @@ int sd_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf | |||
38 | int sd_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); | 38 | int sd_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); |
39 | void sd_spin(void); | 39 | void sd_spin(void); |
40 | 40 | ||
41 | #if (CONFIG_LED == LED_REAL) | ||
42 | void sd_set_led_enabled(bool enabled); | ||
43 | #endif | ||
44 | |||
45 | #ifdef STORAGE_GET_INFO | 41 | #ifdef STORAGE_GET_INFO |
46 | void sd_get_info(IF_MV2(int drive,) struct storage_info *info); | 42 | void sd_get_info(IF_MV2(int drive,) struct storage_info *info); |
47 | #endif | 43 | #endif |
diff --git a/firmware/export/storage.h b/firmware/export/storage.h index 14cd481f74..47d8abda52 100644 --- a/firmware/export/storage.h +++ b/firmware/export/storage.h | |||
@@ -73,9 +73,6 @@ struct storage_info | |||
73 | #define storage_spinup_time() ata_spinup_time() | 73 | #define storage_spinup_time() ata_spinup_time() |
74 | #define storage_get_identify() ata_get_identify() | 74 | #define storage_get_identify() ata_get_identify() |
75 | 75 | ||
76 | #if (CONFIG_LED == LED_REAL) | ||
77 | #define storage_set_led_enabled(enabled) ata_set_led_enabled(enabled) | ||
78 | #endif | ||
79 | #ifdef STORAGE_GET_INFO | 76 | #ifdef STORAGE_GET_INFO |
80 | #define storage_get_info(drive, info) ata_get_info(IF_MV2(drive,) info) | 77 | #define storage_get_info(drive, info) ata_get_info(IF_MV2(drive,) info) |
81 | #endif | 78 | #endif |
@@ -100,9 +97,6 @@ struct storage_info | |||
100 | #define storage_spinup_time() 0 | 97 | #define storage_spinup_time() 0 |
101 | #define storage_get_identify() sd_get_identify() | 98 | #define storage_get_identify() sd_get_identify() |
102 | 99 | ||
103 | #if (CONFIG_LED == LED_REAL) | ||
104 | #define storage_set_led_enabled(enabled) sd_set_led_enabled(enabled) | ||
105 | #endif | ||
106 | #ifdef STORAGE_GET_INFO | 100 | #ifdef STORAGE_GET_INFO |
107 | #define storage_get_info(drive, info) sd_get_info(IF_MV2(drive,) info) | 101 | #define storage_get_info(drive, info) sd_get_info(IF_MV2(drive,) info) |
108 | #endif | 102 | #endif |
@@ -127,9 +121,6 @@ struct storage_info | |||
127 | #define storage_spinup_time() 0 | 121 | #define storage_spinup_time() 0 |
128 | #define storage_get_identify() mmc_get_identify() | 122 | #define storage_get_identify() mmc_get_identify() |
129 | 123 | ||
130 | #if (CONFIG_LED == LED_REAL) | ||
131 | #define storage_set_led_enabled(enabled) mmc_set_led_enabled(enabled) | ||
132 | #endif | ||
133 | #ifdef STORAGE_GET_INFO | 124 | #ifdef STORAGE_GET_INFO |
134 | #define storage_get_info(drive, info) mmc_get_info(IF_MV2(drive,) info) | 125 | #define storage_get_info(drive, info) mmc_get_info(IF_MV2(drive,) info) |
135 | #endif | 126 | #endif |
@@ -154,9 +145,6 @@ struct storage_info | |||
154 | #define storage_spinup_time() 0 | 145 | #define storage_spinup_time() 0 |
155 | #define storage_get_identify() nand_get_identify() | 146 | #define storage_get_identify() nand_get_identify() |
156 | 147 | ||
157 | #if (CONFIG_LED == LED_REAL) | ||
158 | #define storage_set_led_enabled(enabled) nand_set_led_enabled(enabled) | ||
159 | #endif | ||
160 | #ifdef STORAGE_GET_INFO | 148 | #ifdef STORAGE_GET_INFO |
161 | #define storage_get_info(drive, info) nand_get_info(IF_MV2(drive,) info) | 149 | #define storage_get_info(drive, info) nand_get_info(IF_MV2(drive,) info) |
162 | #endif | 150 | #endif |
@@ -181,9 +169,6 @@ struct storage_info | |||
181 | #define storage_spinup_time() 0 | 169 | #define storage_spinup_time() 0 |
182 | #define storage_get_identify() ramdisk_get_identify() | 170 | #define storage_get_identify() ramdisk_get_identify() |
183 | 171 | ||
184 | #if (CONFIG_LED == LED_REAL) | ||
185 | #define storage_set_led_enabled(enabled) ramdisk_set_led_enabled(enabled) | ||
186 | #endif | ||
187 | #ifdef STORAGE_GET_INFO | 172 | #ifdef STORAGE_GET_INFO |
188 | #define storage_get_info(drive, info) ramdisk_get_info(IF_MV2(drive,) info) | 173 | #define storage_get_info(drive, info) ramdisk_get_info(IF_MV2(drive,) info) |
189 | #endif | 174 | #endif |
@@ -212,9 +197,6 @@ int storage_read_sectors(int drive, unsigned long start, int count, void* buf); | |||
212 | int storage_write_sectors(int drive, unsigned long start, int count, const void* buf); | 197 | int storage_write_sectors(int drive, unsigned long start, int count, const void* buf); |
213 | void storage_spin(void); | 198 | void storage_spin(void); |
214 | void storage_spindown(int seconds); | 199 | void storage_spindown(int seconds); |
215 | #if (CONFIG_LED == LED_REAL) | ||
216 | void storage_set_led_enabled(bool enabled); | ||
217 | #endif | ||
218 | long storage_last_disk_activity(void); | 200 | long storage_last_disk_activity(void); |
219 | int storage_spinup_time(void); | 201 | int storage_spinup_time(void); |
220 | #ifdef STORAGE_GET_INFO | 202 | #ifdef STORAGE_GET_INFO |