summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/sdmmc-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/sdmmc-imx233.c')
-rw-r--r--firmware/target/arm/imx233/sdmmc-imx233.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/imx233/sdmmc-imx233.c b/firmware/target/arm/imx233/sdmmc-imx233.c
index c389a1d2c8..e520fcc6e6 100644
--- a/firmware/target/arm/imx233/sdmmc-imx233.c
+++ b/firmware/target/arm/imx233/sdmmc-imx233.c
@@ -845,7 +845,7 @@ void sd_enable(bool on)
845 (void) on; 845 (void) on;
846} 846}
847 847
848int sd_read_sectors(IF_MD2(int sd_drive,) unsigned long start, int count, void *buf) 848int sd_read_sectors(IF_MD(int sd_drive,) unsigned long start, int count, void *buf)
849{ 849{
850#ifndef HAVE_MULTIDRIVE 850#ifndef HAVE_MULTIDRIVE
851 int sd_drive = 0; 851 int sd_drive = 0;
@@ -853,7 +853,7 @@ int sd_read_sectors(IF_MD2(int sd_drive,) unsigned long start, int count, void *
853 return transfer_sectors(sd_map[sd_drive], start, count, buf, true); 853 return transfer_sectors(sd_map[sd_drive], start, count, buf, true);
854} 854}
855 855
856int sd_write_sectors(IF_MD2(int sd_drive,) unsigned long start, int count, const void* buf) 856int sd_write_sectors(IF_MD(int sd_drive,) unsigned long start, int count, const void* buf)
857{ 857{
858#ifndef HAVE_MULTIDRIVE 858#ifndef HAVE_MULTIDRIVE
859 int sd_drive = 0; 859 int sd_drive = 0;
@@ -878,7 +878,7 @@ int mmc_init(void)
878 return 0; 878 return 0;
879} 879}
880 880
881void mmc_get_info(IF_MD2(int mmc_drive,) struct storage_info *info) 881void mmc_get_info(IF_MD(int mmc_drive,) struct storage_info *info)
882{ 882{
883#ifndef HAVE_MULTIDRIVE 883#ifndef HAVE_MULTIDRIVE
884 int mmc_drive = 0; 884 int mmc_drive = 0;
@@ -968,7 +968,7 @@ int mmc_spinup_time(void)
968 return 0; 968 return 0;
969} 969}
970 970
971int mmc_read_sectors(IF_MD2(int mmc_drive,) unsigned long start, int count, void *buf) 971int mmc_read_sectors(IF_MD(int mmc_drive,) unsigned long start, int count, void *buf)
972{ 972{
973#ifndef HAVE_MULTIDRIVE 973#ifndef HAVE_MULTIDRIVE
974 int mmc_drive = 0; 974 int mmc_drive = 0;
@@ -976,7 +976,7 @@ int mmc_read_sectors(IF_MD2(int mmc_drive,) unsigned long start, int count, void
976 return transfer_sectors(mmc_map[mmc_drive], start, count, buf, true); 976 return transfer_sectors(mmc_map[mmc_drive], start, count, buf, true);
977} 977}
978 978
979int mmc_write_sectors(IF_MD2(int mmc_drive,) unsigned long start, int count, const void* buf) 979int mmc_write_sectors(IF_MD(int mmc_drive,) unsigned long start, int count, const void* buf)
980{ 980{
981#ifndef HAVE_MULTIDRIVE 981#ifndef HAVE_MULTIDRIVE
982 int mmc_drive = 0; 982 int mmc_drive = 0;