summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2011-08-08 20:21:29 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2011-08-08 20:21:29 +0000
commit3b0783068b8c31ce8343ca66e7a765793409a72d (patch)
tree11bb547861a8da4a2e29f9920efa5841acd47cc6 /firmware/target
parent1d2fae446699fbb7697b070fba9352cd4a3af53f (diff)
downloadrockbox-3b0783068b8c31ce8343ca66e7a765793409a72d.tar.gz
rockbox-3b0783068b8c31ce8343ca66e7a765793409a72d.zip
Fix typos in comments. Thanks ukleinek for pointing out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30270 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/rk27xx/sd-rk27xx.c6
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;