summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-11 21:26:58 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-11 21:26:58 +0000
commitd6e822cab9b4f1294a8789632c737d0d8f71ef58 (patch)
treedc6b6888ac54ff0a3f1974b87b18dfaa81e65ea4 /firmware/target
parent81cf65e496b94e12d962bbaf59b166244737bb3a (diff)
downloadrockbox-d6e822cab9b4f1294a8789632c737d0d8f71ef58.tar.gz
rockbox-d6e822cab9b4f1294a8789632c737d0d8f71ef58.zip
Get rid of some old archos debug cruft (USB polarity, PR polarity and ATA address are all derived from the hw mask, and master/slave isn't displayed on other targets either). * Get rid of all the USB*STYLE macros (except USB_IPODSTYLE).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13112 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/sh/archos/ata-archos.c7
-rw-r--r--firmware/target/sh/archos/ata-target.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/sh/archos/ata-archos.c b/firmware/target/sh/archos/ata-archos.c
index c685700fa3..5ad30d6891 100644
--- a/firmware/target/sh/archos/ata-archos.c
+++ b/firmware/target/sh/archos/ata-archos.c
@@ -29,7 +29,6 @@
#define ATA_CONTROL2 ((volatile unsigned char*)0x06200306)
volatile unsigned char* ata_control;
-int ata_io_address; /* 0x300 or 0x200 */
void ata_reset(void)
{
@@ -59,15 +58,9 @@ void ata_device_init(void)
PACR2 &= 0xBFFF; /* GPIO function for PA7 (IDE enable) */
if (read_hw_mask() & ATA_ADDRESS_200)
- {
- ata_io_address = 0x200; /* For debug purposes only */
ata_control = ATA_CONTROL1;
- }
else
- {
- ata_io_address = 0x300; /* For debug purposes only */
ata_control = ATA_CONTROL2;
- }
}
bool ata_is_coldstart(void)
diff --git a/firmware/target/sh/archos/ata-target.h b/firmware/target/sh/archos/ata-target.h
index 77f1f9d232..91585626c6 100644
--- a/firmware/target/sh/archos/ata-target.h
+++ b/firmware/target/sh/archos/ata-target.h
@@ -64,7 +64,6 @@
#define SET_16BITREG(reg,val) reg = (val)
extern volatile unsigned char* ata_control;
-extern int ata_io_address;
void ata_reset(void);
void ata_enable(bool on);