summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s3c2440/gigabeat-fx
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx')
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c
index 2f7d57fa57..4b1e1d9ccc 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c
@@ -114,8 +114,8 @@ void copy_read_sectors(unsigned char* buf, int wordcount)
114 DISRCC0 = 0x1; 114 DISRCC0 = 0x1;
115 /* Dest mapped to physical address, on AHB bus, increment */ 115 /* Dest mapped to physical address, on AHB bus, increment */
116 DIDST0 = (int) buf; 116 DIDST0 = (int) buf;
117 if(DIDST0 < 0x30000000) 117 if(DIDST0 < 0x30000000)
118 DIDST0 += 0x30000000; 118 DIDST0 += 0x30000000;
119 DIDSTC0 = 0; 119 DIDSTC0 = 0;
120 120
121 /* DACK/DREQ Sync to AHB, Whole service, No reload, 16-bit transfers */ 121 /* DACK/DREQ Sync to AHB, Whole service, No reload, 16-bit transfers */