summaryrefslogtreecommitdiff
path: root/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c')
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
index 3c6374f0cd..bc2b53d776 100644
--- a/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
+++ b/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
@@ -53,15 +53,7 @@ void ata_enable(bool on)
53 USB_ATA_ENABLE; 53 USB_ATA_ENABLE;
54 54
55 GPBCON=( GPGCON&~(1<<11) ) | (1<<10); /* Make the pin an output */ 55 GPBCON=( GPGCON&~(1<<11) ) | (1<<10); /* Make the pin an output */
56 GPBUP|=1<<5; /* Disable pullup in SOC as we are now driving */ 56// GPBUP|=1<<5; /* Disable pullup in SOC as we are now driving */
57
58/* Code was originally: (Does not seem that GPG12 is connected in the F series)
59 if(on)
60 GPGDAT &= 1<<12;
61 else
62 GPGDAT |= 1<<12;
63*/
64
65} 57}
66 58
67bool ata_is_coldstart(void) 59bool ata_is_coldstart(void)