summaryrefslogtreecommitdiff
path: root/firmware/target/arm/archos/av300/ata-target.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-04-13 16:00:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-13 22:06:22 +0200
commita820a98361b43a01740f155fd4ae3881d844e124 (patch)
treefeae173d7515c354c2db4a4dadc30560c17a9f83 /firmware/target/arm/archos/av300/ata-target.h
parentcfc02cadcc65d74b17f15e5621c42a53467f6d04 (diff)
downloadrockbox-a820a98361b43a01740f155fd4ae3881d844e124.tar.gz
rockbox-a820a98361b43a01740f155fd4ae3881d844e124.zip
obsolete: Nuke the very-incomplete Archos AV300 target
It's even missing a config header file. Just shoot it in the head. Change-Id: I4c5cdb4fb63361a4e4fc893e93d73d3890fe17df
Diffstat (limited to 'firmware/target/arm/archos/av300/ata-target.h')
-rw-r--r--firmware/target/arm/archos/av300/ata-target.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/firmware/target/arm/archos/av300/ata-target.h b/firmware/target/arm/archos/av300/ata-target.h
deleted file mode 100644
index 5732f17045..0000000000
--- a/firmware/target/arm/archos/av300/ata-target.h
+++ /dev/null
@@ -1,39 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: ata-target.h 11655 2006-12-03 22:13:44Z amiconn $
9 *
10 * Copyright (C) 2007 by Dave Chapman
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22#ifndef ATA_TARGET_H
23#define ATA_TARGET_H
24
25/* Plain C read & write loops */
26
27#define ATA_IOBASE 0x02400000
28
29#define ATA_DATA (*((volatile unsigned short*)(ATA_IOBASE)))
30#define ATA_ERROR (*((volatile unsigned char*)(ATA_IOBASE + 0x080)))
31#define ATA_NSECTOR (*((volatile unsigned char*)(ATA_IOBASE + 0x100)))
32#define ATA_SECTOR (*((volatile unsigned char*)(ATA_IOBASE + 0x180)))
33#define ATA_LCYL (*((volatile unsigned char*)(ATA_IOBASE + 0x200)))
34#define ATA_HCYL (*((volatile unsigned char*)(ATA_IOBASE + 0x280)))
35#define ATA_SELECT (*((volatile unsigned char*)(ATA_IOBASE + 0x300)))
36#define ATA_CONTROL (*((volatile unsigned char*)(ATA_IOBASE + 0x340)))
37#define ATA_COMMAND (*((volatile unsigned char*)(ATA_IOBASE + 0x380)))
38
39#endif /* ATA_TARGET_H */