diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-03-27 16:53:13 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-03-27 16:53:13 +0000 |
commit | 6fa93436eac2e32be544e5916eaa56360d943a3c (patch) | |
tree | 2492e7df8697dfafa39ae932c09880dcf07b4efc /firmware | |
parent | 148a5fb6317efda2314540c4c66deaf0b33e7dde (diff) | |
download | rockbox-6fa93436eac2e32be544e5916eaa56360d943a3c.tar.gz 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.h | 8 | ||||
-rw-r--r-- | 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 @@ | |||
108 | #define AB_REPEAT_ENABLE 1 | 108 | #define AB_REPEAT_ENABLE 1 |
109 | 109 | ||
110 | /* FM Tuner - suspected to be the SI4702 */ | 110 | /* FM Tuner - suspected to be the SI4702 */ |
111 | #define CONFIG_TUNER SI4700 | 111 | //#define CONFIG_TUNER SI4700 |
112 | /* #define HAVE_TUNER_PWR_CTRL */ | 112 | /* #define HAVE_TUNER_PWR_CTRL */ |
113 | 113 | ||
114 | /* Define this for LCD backlight available */ | 114 | /* Define this for LCD backlight available */ |
@@ -148,13 +148,13 @@ | |||
148 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 148 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
149 | 149 | ||
150 | /* Charging implemented in a target-specific algorithm */ | 150 | /* Charging implemented in a target-specific algorithm */ |
151 | #define CONFIG_CHARGING 0 | 151 | #define CONFIG_CHARGING CHARGING_TARGET |
152 | 152 | ||
153 | /* define this if the unit can be powered or charged via USB */ | 153 | /* define this if the unit can be powered or charged via USB */ |
154 | #define HAVE_USB_POWER | 154 | #define HAVE_USB_POWER |
155 | 155 | ||
156 | /* Define this if you have an AMS AS3525*/ | 156 | /* Define this if you have an AMS AS3525v2 */ |
157 | #define CONFIG_CPU AS3525 | 157 | #define CONFIG_CPU AS3525v2 |
158 | 158 | ||
159 | /* Define how much SD sectors are reserved for OF */ | 159 | /* Define how much SD sectors are reserved for OF */ |
160 | #define AMS_OF_SIZE 0xF000 | 160 | #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 @@ | |||
50 | #define CHARGER_TOTAL_TIMER (4*3600*2) | 50 | #define CHARGER_TOTAL_TIMER (4*3600*2) |
51 | #define ADC_BATTERY ADC_BVDD | 51 | #define ADC_BATTERY ADC_BVDD |
52 | 52 | ||
53 | #elif defined(SANSA_FUZE) | 53 | #elif defined(SANSA_FUZE) || defined(SANSA_FUZEV2) /* FIXME */ |
54 | 54 | ||
55 | /* Check if topped-off and monitor voltage while plugged. */ | 55 | /* Check if topped-off and monitor voltage while plugged. */ |
56 | #define BATT_FULL_VOLTAGE 4160 | 56 | #define BATT_FULL_VOLTAGE 4160 |