diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-03-11 22:12:23 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-03-11 22:12:23 +0000 |
commit | 01c390d5c5fce784883054a650b6c8ebaba8b186 (patch) | |
tree | 67da237df0400c7103c2bfd4427c9c7056c7b168 /firmware/target/mips/ingenic_jz47xx/onda_vx767 | |
parent | 8189ef5b17600fdc9c4d8b44d136c4a6ea02035a (diff) | |
download | rockbox-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/mips/ingenic_jz47xx/onda_vx767')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c | 41 |
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 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2009 by Maurus Cuelenaere + * + * 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 "power.h" +#include "jz4740.h" + +/* TODO! */ + +/* Detect which power sources are present. */ +unsigned int power_input_status(void) +{ + return 0; +} + +void power_init(void) +{ +} + +bool charging_state(void) +{ + return false; +} |