summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-11 22:12:23 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-11 22:12:23 +0000
commit01c390d5c5fce784883054a650b6c8ebaba8b186 (patch)
tree67da237df0400c7103c2bfd4427c9c7056c7b168 /firmware/target
parent8189ef5b17600fdc9c4d8b44d136c4a6ea02035a (diff)
downloadrockbox-01c390d5c5fce784883054a650b6c8ebaba8b186.tar.gz
rockbox-01c390d5c5fce784883054a650b6c8ebaba8b186.zip
Make Onda VX767 compile + restructure firmware/SOURCES a bit (wrt Jz4740 specific files)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20297 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c b/firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c
new file mode 100644
index 0000000000..8d007e292a
--- /dev/null
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c
@@ -0,0 +1,41 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2009 by Maurus Cuelenaere
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#include "config.h"
23#include "power.h"
24#include "jz4740.h"
25
26/* TODO! */
27
28/* Detect which power sources are present. */
29unsigned int power_input_status(void)
30{
31 return 0;
32}
33
34void power_init(void)
35{
36}
37
38bool charging_state(void)
39{
40 return false;
41}