diff options
Diffstat (limited to 'firmware/export/storage.h')
-rw-r--r-- | firmware/export/storage.h | 18 |
1 files changed, 0 insertions, 18 deletions
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 |