diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-04-13 16:00:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-13 22:06:22 +0200 |
commit | a820a98361b43a01740f155fd4ae3881d844e124 (patch) | |
tree | feae173d7515c354c2db4a4dadc30560c17a9f83 /firmware | |
parent | cfc02cadcc65d74b17f15e5621c42a53467f6d04 (diff) |
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')
-rw-r--r-- | firmware/export/config.h | 4 | ||||
-rw-r--r-- | firmware/target/arm/archos/av300/ata-av300.c | 58 | ||||
-rw-r--r-- | firmware/target/arm/archos/av300/ata-target.h | 39 | ||||
-rw-r--r-- | firmware/target/arm/archos/av300/button-target.h | 45 | ||||
-rw-r--r-- | firmware/target/arm/archos/av300/power-av300.c | 66 |
5 files changed, 0 insertions, 212 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index c55d489c26..4f9cd02097 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -118,7 +118,6 @@ #define SANSA_E200_PAD 13 #define SANSA_C200_PAD 14 #define TATUNG_TPJ1022_PAD 15 -#define ARCHOS_AV300_PAD 16 #define MROBE100_PAD 17 #define MROBE500_PAD 18 #define GIGABEAT_S_PAD 19 @@ -240,7 +239,6 @@ #define LCD_H10_20GB 13 /* as used by iriver H10 20Gb */ #define LCD_H10_5GB 14 /* as used by iriver H10 5Gb */ #define LCD_TPJ1022 15 /* as used by Tatung Elio TPJ-1022 */ -#define LCD_DSC25 16 /* as used by Archos AV300 */ #define LCD_C200 17 /* as used by Sandisk Sansa c200 */ #define LCD_MROBE500 18 /* as used by Olympus M:Robe 500i */ #define LCD_MROBE100 19 /* as used by Olympus M:Robe 100 */ @@ -412,8 +410,6 @@ Lyre prototype 1 */ #include "config/archosondiosp.h" #elif defined(ARCHOS_ONDIOFM) #include "config/archosondiofm.h" -#elif defined(ARCHOS_AV300) -#include "config/archosav300.h" #elif defined(IRIVER_H100) #include "config/iriverh100.h" #elif defined(IRIVER_H120) 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; -} |