summaryrefslogtreecommitdiffstats
path: root/firmware/target
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
parentcfc02cadcc65d74b17f15e5621c42a53467f6d04 (diff)
downloadrockbox-a820a98361b43a01740f155fd4ae3881d844e124.tar.gz
rockbox-a820a98361b43a01740f155fd4ae3881d844e124.tar.bz2
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')
-rw-r--r--firmware/target/arm/archos/av300/ata-av300.c58
-rw-r--r--firmware/target/arm/archos/av300/ata-target.h39
-rw-r--r--firmware/target/arm/archos/av300/button-target.h45
-rw-r--r--firmware/target/arm/archos/av300/power-av300.c66
4 files changed, 0 insertions, 208 deletions
diff --git a/firmware/target/arm/archos/av300/ata-av300.c b/firmware/target/arm/archos/av300/ata-av300.c
deleted file mode 100644
index e8623e5f16..0000000000
--- a/firmware/target/arm/archos/av300/ata-av300.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/***************************************************************************
- * __________ __ ___.
- * Open \______ \ ____ ____ | | _\_ |__ _______ ___
- * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
- * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
- * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
- * \/ \/ \/ \/ \/
- * $Id: ata-pp5020.c 10521 2006-08-11 08:35:27Z bger $
- *
- * Target-specific ATA functions for AV3xx (TMS320DSC25)
- *
- * Based on code from the ArchOpen project - http://www.archopen.org
- * Adapted for Rockbox in January 2007
- *
- * Original file:
- * lib/target/arch_AV3XX/ata.c
- *
- * AvLo - linav project
- * Copyright (c) 2005 by Christophe THOMAS (oxygen77 at free.fr)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- ****************************************************************************/
-
-#include <stdbool.h>
-#include "system.h"
-#include "ata-driver.h"
-
-void ata_reset()
-{
- /* arch_ata_reset_HD(void) */
- cpld_set_port_2(CPLD_HD_RESET);
- cpld_clear_port_2(CPLD_HD_RESET);
-}
-
-void ata_enable(bool on)
-{
- /* TODO: Implement ata_enable() */
- (void)on;
-}
-
-bool ata_is_coldstart()
-{
- /* TODO: Implement coldstart variable */
- return true;
-}
-
-void ata_device_init()
-{
- /* Set CF/HD selection to HD */
- cpld_select(CPLD_HD_CF,CPLD_SEL_HD);
-}
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 @@
-/***************************************************************************
- * __________ __ ___.
- * Open \______ \ ____ ____ | | _\_ |__ _______ ___
- * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
- * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
- * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
- * \/ \/ \/ \/ \/
- * $Id: ata-target.h 11655 2006-12-03 22:13:44Z amiconn $
- *
- * Copyright (C) 2007 by Dave Chapman
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- ****************************************************************************/
-
-#ifndef ATA_TARGET_H
-#define ATA_TARGET_H
-
-/* Plain C read & write loops */
-
-#define ATA_IOBASE 0x02400000
-
-#define ATA_DATA (*((volatile unsigned short*)(ATA_IOBASE)))
-#define ATA_ERROR (*((volatile unsigned char*)(ATA_IOBASE + 0x080)))
-#define ATA_NSECTOR (*((volatile unsigned char*)(ATA_IOBASE + 0x100)))
-#define ATA_SECTOR (*((volatile unsigned char*)(ATA_IOBASE + 0x180)))
-#define ATA_LCYL (*((volatile unsigned char*)(ATA_IOBASE + 0x200)))
-#define ATA_HCYL (*((volatile unsigned char*)(ATA_IOBASE + 0x280)))
-#define ATA_SELECT (*((volatile unsigned char*)(ATA_IOBASE + 0x300)))
-#define ATA_CONTROL (*((volatile unsigned char*)(ATA_IOBASE + 0x340)))
-#define ATA_COMMAND (*((volatile unsigned char*)(ATA_IOBASE + 0x380)))
-
-#endif /* ATA_TARGET_H */
diff --git a/firmware/target/arm/archos/av300/button-target.h b/firmware/target/arm/archos/av300/button-target.h
deleted file mode 100644
index a4c439690f..0000000000
--- a/firmware/target/arm/archos/av300/button-target.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/***************************************************************************
- * __________ __ ___.
- * Open \______ \ ____ ____ | | _\_ |__ _______ ___
- * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
- * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
- * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
- * \/ \/ \/ \/ \/
- * $Id: button-target.h 11967 2007-01-09 23:29:07Z linus $
- *
- * Copyright (C) 2007 by Dave Chapman
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- ****************************************************************************/
-
-#ifndef _BUTTON_TARGET_H_
-#define _BUTTON_TARGET_H_
-
-/* Main unit's buttons */
-
-#define BUTTON_ON 0x00000001
-#define BUTTON_OFF 0x00000002
-
-#define BUTTON_LEFT 0x00000004
-#define BUTTON_RIGHT 0x00000008
-#define BUTTON_UP 0x00000010
-#define BUTTON_DOWN 0x00000020
-
-#define BUTTON_SELECT 0x00000040
-
-#define BUTTON_F1 0x00000080
-#define BUTTON_F2 0x00000100
-#define BUTTON_F3 0x00000200
-
-#define BUTTON_MAIN (BUTTON_ON|BUTTON_OFF|BUTTON_LEFT|BUTTON_RIGHT\
- |BUTTON_UP|BUTTON_DOWN|BUTTON_SELECT\
- |BUTTON_F1|BUTTON_F2|BUTTON_F3)
-
-#endif /* _BUTTON_TARGET_H_ */
diff --git a/firmware/target/arm/archos/av300/power-av300.c b/firmware/target/arm/archos/av300/power-av300.c
deleted file mode 100644
index 013fd04691..0000000000
--- a/firmware/target/arm/archos/av300/power-av300.c
+++ /dev/null
@@ -1,66 +0,0 @@
-/***************************************************************************
- * __________ __ ___.
- * Open \______ \ ____ ____ | | _\_ |__ _______ ___
- * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
- * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
- * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
- * \/ \/ \/ \/ \/
- * $Id: power-x5.c 10967 2006-09-17 09:19:50Z jethead71 $
- *
- * Based on code from the ArchOpen project - http://www.archopen.org
- * Adapted for Rockbox in January 2007
- *
- * Original files:
- * lib/target/arch_AV3XX/ata.c
- *
- * AvLo - linav project
- * Copyright (c) 2005 by Christophe THOMAS (oxygen77 at free.fr)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- ****************************************************************************/
-#include "config.h"
-#include "cpu.h"
-#include <stdbool.h>
-#include "kernel.h"
-#include "system.h"
-#include "power.h"
-
-void power_init(void)
-{
- /* Charger detect */
-}
-
-unsigned int power_input_status(void)
-{
- return POWER_INPUT_NONE;
-}
-
-void ide_power_enable(bool on)
-{
- if(on)
- cpld_set_port_3(CPLD_HD_POWER); /* powering up HD */
- else
- cpld_clear_port_3(CPLD_HD_POWER);
-}
-
-bool ide_powered(void)
-{
- return false;
-}
-
-void power_off(void)
-{
-}
-
-bool tuner_power(bool status)
-{
- (void)status;
- return true;
-}