Fix sim red

Change-Id: Icbdf47c5c508516892b1ce75558b878dc512e780
This commit is contained in:
Amaury Pouly 2013-11-19 22:12:42 +00:00
parent 0cb76defd3
commit da7be39614
7 changed files with 7 additions and 9 deletions

View file

@ -41,7 +41,7 @@
#include "system-target.h" #include "system-target.h"
#include "fmradio_i2c.h" #include "fmradio_i2c.h"
#include "version.h" #include "version.h"
#include "powermgmt.h" #include "powermgmt-imx233.h"
#include "partitions-imx233.h" #include "partitions-imx233.h"
#include "adc.h" #include "adc.h"

View file

@ -20,6 +20,9 @@
****************************************************************************/ ****************************************************************************/
#include "adc-target.h" #include "adc-target.h"
#include "system.h"
#include "powermgmt-target.h"
#include "lradc-imx233.h"
#include "power-imx233.h" #include "power-imx233.h"
/* Virtual channels */ /* Virtual channels */

View file

@ -21,11 +21,8 @@
#ifndef _ADC_IMX233_H_ #ifndef _ADC_IMX233_H_
#define _ADC_IMX233_H_ #define _ADC_IMX233_H_
#include "system.h"
#include "adc.h" #include "adc.h"
#include "adc-target.h"
#include "powermgmt-target.h" #include "powermgmt-target.h"
#include "lradc-imx233.h"
enum imx233_adc_channel_t enum imx233_adc_channel_t
{ {

View file

@ -19,12 +19,14 @@
* *
****************************************************************************/ ****************************************************************************/
#include "system.h"
#include "powermgmt.h" #include "powermgmt.h"
#include "power-imx233.h" #include "power-imx233.h"
#include "usb.h" #include "usb.h"
#include "string.h" #include "string.h"
//#define LOGF_ENABLE //#define LOGF_ENABLE
#include "logf.h" #include "logf.h"
#include "powermgmt-imx233.h"
#if !defined(IMX233_CHARGE_CURRENT) || !defined(IMX233_STOP_CURRENT) \ #if !defined(IMX233_CHARGE_CURRENT) || !defined(IMX233_STOP_CURRENT) \
|| !defined(IMX233_CHARGING_TIMEOUT) || !defined(IMX233_TOPOFF_TIMEOUT) || !defined(IMX233_CHARGING_TIMEOUT) || !defined(IMX233_TOPOFF_TIMEOUT)

View file

@ -25,9 +25,6 @@
#include "powermgmt.h" #include "powermgmt.h"
void imx233_powermgmt_init(void); void imx233_powermgmt_init(void);
void powermgmt_init_target(void);
void charging_algorithm_step(void);
void charging_algorithm_close(void);
struct imx233_powermgmt_info_t struct imx233_powermgmt_info_t
{ {

View file

@ -22,7 +22,6 @@
#define POWERMGMT_TARGET_H #define POWERMGMT_TARGET_H
#include "config.h" #include "config.h"
#include "powermgmt-imx233.h"
/* Fuze+ OF settings: /* Fuze+ OF settings:
* - current ramp slope: 50 mA/s * - current ramp slope: 50 mA/s

View file

@ -43,7 +43,7 @@
#include "backlight-target.h" #include "backlight-target.h"
#include "button.h" #include "button.h"
#include "fmradio_i2c.h" #include "fmradio_i2c.h"
#include "powermgmt.h" #include "powermgmt-imx233.h"
void imx233_chip_reset(void) void imx233_chip_reset(void)
{ {