diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-06-17 22:30:58 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-06-17 22:30:58 +0000 |
commit | 2cf33133820ee17e4b5d2d622db15dedff1a1f6e (patch) | |
tree | 60eddf4c3f16d5d274bc111ce53db02cfe75a6e8 /firmware/target/arm/imx233/sd-imx233.c | |
parent | d4800fa3851d2d89c1be03ec99af81f277892579 (diff) | |
download | rockbox-2cf33133820ee17e4b5d2d622db15dedff1a1f6e.tar.gz rockbox-2cf33133820ee17e4b5d2d622db15dedff1a1f6e.zip |
fuze+: add more clocking code, add dma code, add ssp code, add stub usb code, update storage to SD + MMC, beginning of the driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30010 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx233/sd-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/sd-imx233.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/sd-imx233.c b/firmware/target/arm/imx233/sd-imx233.c index eec1ce14db..6f30c7a3c6 100644 --- a/firmware/target/arm/imx233/sd-imx233.c +++ b/firmware/target/arm/imx233/sd-imx233.c | |||
@@ -18,7 +18,10 @@ | |||
18 | * KIND, either express or implied. | 18 | * KIND, either express or implied. |
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "config.h" | ||
22 | #include "system.h" | ||
21 | #include "sd.h" | 23 | #include "sd.h" |
24 | #include "sdmmc.h" | ||
22 | 25 | ||
23 | int sd_init(void) | 26 | int sd_init(void) |
24 | { | 27 | { |
@@ -45,4 +48,15 @@ int sd_write_sectors(IF_MD2(int drive,) unsigned long start, int count, | |||
45 | return -1; | 48 | return -1; |
46 | } | 49 | } |
47 | 50 | ||
51 | tCardInfo *card_get_info_target(int card_no) | ||
52 | { | ||
53 | (void)card_no; | ||
54 | return NULL; | ||
55 | } | ||
56 | |||
57 | int sd_num_drives(int first_drive) | ||
58 | { | ||
59 | (void) first_drive; | ||
60 | return 0; | ||
61 | } | ||
48 | 62 | ||