diff options
Diffstat (limited to 'firmware/target/arm/archos/av300/power-av300.c')
-rw-r--r-- | firmware/target/arm/archos/av300/power-av300.c | 66 |
1 files changed, 0 insertions, 66 deletions
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 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: power-x5.c 10967 2006-09-17 09:19:50Z jethead71 $ | ||
9 | * | ||
10 | * Based on code from the ArchOpen project - http://www.archopen.org | ||
11 | * Adapted for Rockbox in January 2007 | ||
12 | * | ||
13 | * Original files: | ||
14 | * lib/target/arch_AV3XX/ata.c | ||
15 | * | ||
16 | * AvLo - linav project | ||
17 | * Copyright (c) 2005 by Christophe THOMAS (oxygen77 at free.fr) | ||
18 | * | ||
19 | * This program is free software; you can redistribute it and/or | ||
20 | * modify it under the terms of the GNU General Public License | ||
21 | * as published by the Free Software Foundation; either version 2 | ||
22 | * of the License, or (at your option) any later version. | ||
23 | * | ||
24 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
25 | * KIND, either express or implied. | ||
26 | * | ||
27 | ****************************************************************************/ | ||
28 | #include "config.h" | ||
29 | #include "cpu.h" | ||
30 | #include <stdbool.h> | ||
31 | #include "kernel.h" | ||
32 | #include "system.h" | ||
33 | #include "power.h" | ||
34 | |||
35 | void power_init(void) | ||
36 | { | ||
37 | /* Charger detect */ | ||
38 | } | ||
39 | |||
40 | unsigned int power_input_status(void) | ||
41 | { | ||
42 | return POWER_INPUT_NONE; | ||
43 | } | ||
44 | |||
45 | void ide_power_enable(bool on) | ||
46 | { | ||
47 | if(on) | ||
48 | cpld_set_port_3(CPLD_HD_POWER); /* powering up HD */ | ||
49 | else | ||
50 | cpld_clear_port_3(CPLD_HD_POWER); | ||
51 | } | ||
52 | |||
53 | bool ide_powered(void) | ||
54 | { | ||
55 | return false; | ||
56 | } | ||
57 | |||
58 | void power_off(void) | ||
59 | { | ||
60 | } | ||
61 | |||
62 | bool tuner_power(bool status) | ||
63 | { | ||
64 | (void)status; | ||
65 | return true; | ||
66 | } | ||