summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
commit58825f6e7391a237be85e63bee08f7a0bb66dc38 (patch)
tree1324b528137ce35623eb3332f32d422331f80777 /firmware/target/coldfire/iaudio/x5/pcf50606-x5.c
parentf669797d077d081078407dd6dabf4e7389acf68f (diff)
downloadrockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.tar.gz
rockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.zip
Coldfire targets: Got the rest of the coldfire code out of backlight.c. Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iaudio/x5/pcf50606-x5.c')
-rw-r--r--firmware/target/coldfire/iaudio/x5/pcf50606-x5.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c b/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c
index 59140667ef..b8128617c2 100644
--- a/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c
+++ b/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c
@@ -81,15 +81,6 @@ void pcf50606_init(void)
81 pcf50606_write(0x39, 0x00); /* GPOOD0 = green led OFF */ 81 pcf50606_write(0x39, 0x00); /* GPOOD0 = green led OFF */
82 pcf50606_write(0x3a, 0x00); /* GPOOD1 = red led OFF */ 82 pcf50606_write(0x3a, 0x00); /* GPOOD1 = red led OFF */
83 83
84 pcf50606_write(0x35, 0x11); /* Backlight PWM = 512Hz, 8/16, Active */
85#ifdef BOOTLOADER
86 /* Backlight starts OFF in bootloader */
87 pcf50606_write(0x38, 0x80); /* Backlight OFF, GPO1INV=1, GPO1ACT=011 */
88#else
89 /* Keep backlight on when changing to firmware */
90 pcf50606_write(0x38, 0xb0); /* Backlight ON, GPO1INV=1, GPO1ACT=011 */
91#endif
92
93 /* Accessory detect */ 84 /* Accessory detect */
94 pcf50606_write(0x33, 0x8e); /* ACDAPE=1, THRSHLD=2.40V */ 85 pcf50606_write(0x33, 0x8e); /* ACDAPE=1, THRSHLD=2.40V */
95 86