From 01c390d5c5fce784883054a650b6c8ebaba8b186 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Wed, 11 Mar 2009 22:12:23 +0000 Subject: 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 --- .../ingenic_jz47xx/onda_vx767/power-onda_vx767.c | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 firmware/target/mips/ingenic_jz47xx/onda_vx767/power-onda_vx767.c (limited to 'firmware/target') 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; +} -- cgit v1.2.3