summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-03 07:03:07 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-03 07:03:07 +0000
commitbf0e907257fe9446d23c4b32aec9c4f4f5ba03d0 (patch)
treea7fa69cb4ab98af2b67a0192dc8b42c95fdc03e8 /firmware/export/config
parente93ba5a7241407b32e91563b7ef5eaafd0ea3338 (diff)
downloadrockbox-bf0e907257fe9446d23c4b32aec9c4f4f5ba03d0.tar.gz
rockbox-bf0e907257fe9446d23c4b32aec9c4f4f5ba03d0.zip
powermgmt.h: include config.h
AMS*: define CURRENT_MAX_CHG to give more correct estimation of recharge time The amount of current each target draws from the charger is defined in powermgmt-target.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27994 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/sansac200v2.h3
-rw-r--r--firmware/export/config/sansaclip.h3
-rw-r--r--firmware/export/config/sansaclipplus.h2
-rw-r--r--firmware/export/config/sansaclipv2.h3
-rw-r--r--firmware/export/config/sansae200v2.h3
-rw-r--r--firmware/export/config/sansafuze.h3
-rw-r--r--firmware/export/config/sansafuzev2.h3
7 files changed, 20 insertions, 0 deletions
diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h
index aa9ccbe6b3..a87d1543a3 100644
--- a/firmware/export/config/sansac200v2.h
+++ b/firmware/export/config/sansac200v2.h
@@ -154,6 +154,9 @@
154#define CURRENT_BACKLIGHT 25 154#define CURRENT_BACKLIGHT 25
155#define CURRENT_RECORD CURRENT_NORMAL 155#define CURRENT_RECORD CURRENT_NORMAL
156 156
157/* maximum charging current */
158#define CURRENT_MAX_CHG 200
159
157/* The start address index for ROM builds */ 160/* The start address index for ROM builds */
158#define ROM_START 0x00000000 161#define ROM_START 0x00000000
159 162
diff --git a/firmware/export/config/sansaclip.h b/firmware/export/config/sansaclip.h
index 3ef6e2649d..d43fa898b0 100644
--- a/firmware/export/config/sansaclip.h
+++ b/firmware/export/config/sansaclip.h
@@ -158,6 +158,9 @@
158#define CURRENT_BACKLIGHT 13 158#define CURRENT_BACKLIGHT 13
159#define CURRENT_RECORD CURRENT_NORMAL 159#define CURRENT_RECORD CURRENT_NORMAL
160 160
161/* maximum charging current */
162#define CURRENT_MAX_CHG 150
163
161/* Define this to the CPU frequency */ 164/* Define this to the CPU frequency */
162#define CPU_FREQ 248000000 165#define CPU_FREQ 248000000
163 166
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 8d6ffac9b5..8a0a0403f3 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -165,6 +165,8 @@
165#define CURRENT_BACKLIGHT 15 165#define CURRENT_BACKLIGHT 15
166#define CURRENT_RECORD CURRENT_NORMAL /* TODO */ 166#define CURRENT_RECORD CURRENT_NORMAL /* TODO */
167 167
168/* maximum charging current */
169#define CURRENT_MAX_CHG 150
168 170
169/* Define this to the CPU frequency */ 171/* Define this to the CPU frequency */
170#define CPU_FREQ 240000000 172#define CPU_FREQ 240000000
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index ad960c3051..a39fe3e12c 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -161,6 +161,9 @@
161#define CURRENT_BACKLIGHT 15 161#define CURRENT_BACKLIGHT 15
162#define CURRENT_RECORD 11 162#define CURRENT_RECORD 11
163 163
164/* maximum charging current */
165#define CURRENT_MAX_CHG 150
166
164/* Define this to the CPU frequency */ 167/* Define this to the CPU frequency */
165#define CPU_FREQ 240000000 168#define CPU_FREQ 240000000
166 169
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index ef9c007a58..1b7d76e650 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -162,6 +162,9 @@
162#define CURRENT_BACKLIGHT 30 162#define CURRENT_BACKLIGHT 30
163#define CURRENT_RECORD CURRENT_NORMAL 163#define CURRENT_RECORD CURRENT_NORMAL
164 164
165/* maximum charging current */
166#define CURRENT_MAX_CHG 300
167
165/* The start address index for ROM builds */ 168/* The start address index for ROM builds */
166#define ROM_START 0x00000000 169#define ROM_START 0x00000000
167 170
diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h
index 15f9f662cf..e2b3fa8aaa 100644
--- a/firmware/export/config/sansafuze.h
+++ b/firmware/export/config/sansafuze.h
@@ -166,6 +166,9 @@
166#define CURRENT_BACKLIGHT 30 166#define CURRENT_BACKLIGHT 30
167#define CURRENT_RECORD CURRENT_NORMAL 167#define CURRENT_RECORD CURRENT_NORMAL
168 168
169/* maximum charging current */
170#define CURRENT_MAX_CHG 200
171
169/* Define this to the CPU frequency */ 172/* Define this to the CPU frequency */
170#define CPU_FREQ 248000000 173#define CPU_FREQ 248000000
171 174
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index 78c2f6b721..b725ab5007 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -168,6 +168,9 @@
168#define CURRENT_BACKLIGHT 30 168#define CURRENT_BACKLIGHT 30
169#define CURRENT_RECORD CURRENT_NORMAL 169#define CURRENT_RECORD CURRENT_NORMAL
170 170
171/* maximum charging current */
172#define CURRENT_MAX_CHG 200
173
171/* Define this to the CPU frequency */ 174/* Define this to the CPU frequency */
172#define CPU_FREQ 240000000 175#define CPU_FREQ 240000000
173 176