From c0eb9aeb9e89ae33a9f084167147d8eacb9c7c60 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 1 Jul 2009 21:49:13 +0000 Subject: 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 --- firmware/export/hotswap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export/hotswap.h') 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 #define card_detect card_detect_target #define card_get_info card_get_info_target tCardInfo *card_get_info_target(int card_no); +void sd_parse_csd(tCardInfo *card); #ifdef HAVE_HOTSWAP #define card_enable_monitoring card_enable_monitoring_target -- cgit v1.2.3