summaryrefslogtreecommitdiff
path: root/firmware/hotswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/hotswap.c')
-rw-r--r--firmware/hotswap.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/firmware/hotswap.c b/firmware/hotswap.c
index 5620edf10b..bbcdabf649 100644
--- a/firmware/hotswap.c
+++ b/firmware/hotswap.c
@@ -18,10 +18,10 @@
18 ****************************************************************************/ 18 ****************************************************************************/
19#include <stdbool.h> 19#include <stdbool.h>
20#include "config.h" 20#include "config.h"
21#ifdef TARGET_TREE 21#ifdef HAVE_MMC
22#include "hotswap-target.h"
23#else
24#include "ata_mmc.h" 22#include "ata_mmc.h"
23#else
24#include "hotswap.h"
25#endif 25#endif
26 26
27/* helper function to extract n (<=32) bits from an arbitrary position. 27/* helper function to extract n (<=32) bits from an arbitrary position.
@@ -44,15 +44,3 @@ unsigned long card_extract_bits(
44 44
45 return result; 45 return result;
46} 46}
47
48#ifdef TARGET_TREE
49bool card_detect(void)
50{
51 return card_detect_target();
52}
53
54tCardInfo *card_get_info(int card_no)
55{
56 return card_get_info_target(card_no);
57}
58#endif