summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-27 16:53:13 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-27 16:53:13 +0000
commit6fa93436eac2e32be544e5916eaa56360d943a3c (patch)
tree2492e7df8697dfafa39ae932c09880dcf07b4efc /firmware
parent148a5fb6317efda2314540c4c66deaf0b33e7dde (diff)
downloadrockbox-6fa93436eac2e32be544e5916eaa56360d943a3c.tar.gz
rockbox-6fa93436eac2e32be544e5916eaa56360d943a3c.tar.bz2
rockbox-6fa93436eac2e32be544e5916eaa56360d943a3c.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/sansafuzev2.h8
-rw-r--r--firmware/target/arm/as3525/powermgmt-target.h2
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