From 6fa93436eac2e32be544e5916eaa56360d943a3c Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 27 Mar 2010 16:53:13 +0000 Subject: Fuzev2: fix normal build: enable charging properly, disable FM, use as3525v2 cpu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25354 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/sansafuzev2.h | 8 ++++---- firmware/target/arm/as3525/powermgmt-target.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h index a6c2264f9f..c51e183110 100644 --- a/firmware/export/config/sansafuzev2.h +++ b/firmware/export/config/sansafuzev2.h @@ -108,7 +108,7 @@ #define AB_REPEAT_ENABLE 1 /* FM Tuner - suspected to be the SI4702 */ -#define CONFIG_TUNER SI4700 +//#define CONFIG_TUNER SI4700 /* #define HAVE_TUNER_PWR_CTRL */ /* Define this for LCD backlight available */ @@ -148,13 +148,13 @@ #define BATTERY_TYPES_COUNT 1 /* only one type */ /* Charging implemented in a target-specific algorithm */ -#define CONFIG_CHARGING 0 +#define CONFIG_CHARGING CHARGING_TARGET /* define this if the unit can be powered or charged via USB */ #define HAVE_USB_POWER -/* Define this if you have an AMS AS3525*/ -#define CONFIG_CPU AS3525 +/* Define this if you have an AMS AS3525v2 */ +#define CONFIG_CPU AS3525v2 /* Define how much SD sectors are reserved for OF */ #define AMS_OF_SIZE 0xF000 diff --git a/firmware/target/arm/as3525/powermgmt-target.h b/firmware/target/arm/as3525/powermgmt-target.h index 5460abace4..511bcc7085 100644 --- a/firmware/target/arm/as3525/powermgmt-target.h +++ b/firmware/target/arm/as3525/powermgmt-target.h @@ -50,7 +50,7 @@ #define CHARGER_TOTAL_TIMER (4*3600*2) #define ADC_BATTERY ADC_BVDD -#elif defined(SANSA_FUZE) +#elif defined(SANSA_FUZE) || defined(SANSA_FUZEV2) /* FIXME */ /* Check if topped-off and monitor voltage while plugged. */ #define BATT_FULL_VOLTAGE 4160 -- cgit v1.2.3