diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-01 21:49:13 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-07-01 21:49:13 +0000 |
commit | c0eb9aeb9e89ae33a9f084167147d8eacb9c7c60 (patch) | |
tree | 57e96460989d9cccc421486769befb5648601b8c /firmware/export/hotswap.h | |
parent | 93f6e3df246ff50c24524c9d329f27a06e1845db (diff) | |
download | rockbox-c0eb9aeb9e89ae33a9f084167147d8eacb9c7c60.tar.gz rockbox-c0eb9aeb9e89ae33a9f084167147d8eacb9c7c60.zip |
add firmware/driver/sd.c which contains common code between SD drivers
ingenic SD driver needs more cleanup so it still doesn't use the common code
correct a comment in hotswap.c: card_extract_bits assume most significant word of register first (so, use this order)
fix debug menu which used MMC specific commands / bits positions in csd/cid
move the default block size of 512 into sd.h
move the mantissa & exponent table into a single file (sd.c) to reduce binsize. we don't need to export it anymore anyway
TODO : ingenic cleanup (will happen soon so building sd.c is not conditional)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21601 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/hotswap.h')
-rw-r--r-- | firmware/export/hotswap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/hotswap.h b/firmware/export/hotswap.h index a9bb745f38..455dee6bcc 100644 --- a/firmware/export/hotswap.h +++ b/firmware/export/hotswap.h | |||
@@ -56,6 +56,7 @@ typedef struct | |||
56 | #define card_detect card_detect_target | 56 | #define card_detect card_detect_target |
57 | #define card_get_info card_get_info_target | 57 | #define card_get_info card_get_info_target |
58 | tCardInfo *card_get_info_target(int card_no); | 58 | tCardInfo *card_get_info_target(int card_no); |
59 | void sd_parse_csd(tCardInfo *card); | ||
59 | 60 | ||
60 | #ifdef HAVE_HOTSWAP | 61 | #ifdef HAVE_HOTSWAP |
61 | #define card_enable_monitoring card_enable_monitoring_target | 62 | #define card_enable_monitoring card_enable_monitoring_target |