diff options
Diffstat (limited to 'firmware/target/arm/rk27xx/sd-rk27xx.c')
-rw-r--r-- | firmware/target/arm/rk27xx/sd-rk27xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/rk27xx/sd-rk27xx.c b/firmware/target/arm/rk27xx/sd-rk27xx.c index dab6c3e1f3..57c315adb0 100644 --- a/firmware/target/arm/rk27xx/sd-rk27xx.c +++ b/firmware/target/arm/rk27xx/sd-rk27xx.c | |||
@@ -462,7 +462,7 @@ int sd_read_sectors(IF_MD2(int drive,) unsigned long start, int count, | |||
462 | 462 | ||
463 | if (cnt == 1) | 463 | if (cnt == 1) |
464 | { | 464 | { |
465 | /* last block to tranfer */ | 465 | /* last block to transfer */ |
466 | SD_DATAT = DATA_XFER_START | DATA_XFER_READ | | 466 | SD_DATAT = DATA_XFER_START | DATA_XFER_READ | |
467 | DATA_BUS_1LINE | DATA_XFER_DMA_DIS | | 467 | DATA_BUS_1LINE | DATA_XFER_DMA_DIS | |
468 | DATA_XFER_SINGLE; | 468 | DATA_XFER_SINGLE; |
@@ -519,7 +519,7 @@ int sd_read_sectors(IF_MD2(int drive,) unsigned long start, int count, | |||
519 | } | 519 | } |
520 | else if (cnt == 1) | 520 | else if (cnt == 1) |
521 | { | 521 | { |
522 | /* last block to tranfer */ | 522 | /* last block to transfer */ |
523 | SD_DATAT = DATA_XFER_START | DATA_XFER_READ | | 523 | SD_DATAT = DATA_XFER_START | DATA_XFER_READ | |
524 | DATA_BUS_1LINE | DATA_XFER_DMA_DIS | | 524 | DATA_BUS_1LINE | DATA_XFER_DMA_DIS | |
525 | DATA_XFER_SINGLE; | 525 | DATA_XFER_SINGLE; |
@@ -616,7 +616,7 @@ int sd_write_sectors(IF_MD2(int drive,) unsigned long start, int count, | |||
616 | 616 | ||
617 | if (cnt == 1) | 617 | if (cnt == 1) |
618 | { | 618 | { |
619 | /* last block to tranfer */ | 619 | /* last block to transfer */ |
620 | SD_DATAT = DATA_XFER_START | DATA_XFER_WRITE | | 620 | SD_DATAT = DATA_XFER_START | DATA_XFER_WRITE | |
621 | DATA_BUS_1LINE | DATA_XFER_DMA_DIS | | 621 | DATA_BUS_1LINE | DATA_XFER_DMA_DIS | |
622 | DATA_XFER_SINGLE; | 622 | DATA_XFER_SINGLE; |