summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c b/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c
index b255a063f8..403ce182be 100644
--- a/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c
+++ b/firmware/target/arm/tms320dm320/sansa-connect/lcd-sansaconnect.c
@@ -100,7 +100,8 @@ void lcd_init_device(void)
100 bitset16(&IO_CLK_MOD1, CLK_MOD1_OSD); 100 bitset16(&IO_CLK_MOD1, CLK_MOD1_OSD);
101 101
102 /* magic values based on OF bootloader initialization */ 102 /* magic values based on OF bootloader initialization */
103 IO_VID_ENC_VMOD = 0x2010; 103 /* Set DAC to powerdown mode (bit 2 to 1 in VMOD) */
104 IO_VID_ENC_VMOD = 0x2014; /* OF sets 0x2010 */
104 IO_VID_ENC_VDPRO = 0x80; 105 IO_VID_ENC_VDPRO = 0x80;
105 IO_VID_ENC_HSPLS = 0x4; 106 IO_VID_ENC_HSPLS = 0x4;
106 IO_VID_ENC_HINT = 0x4B0; 107 IO_VID_ENC_HINT = 0x4B0;
@@ -117,7 +118,7 @@ void lcd_init_device(void)
117 IO_VID_ENC_VDCTL = 0x6000; 118 IO_VID_ENC_VDCTL = 0x6000;
118 IO_VID_ENC_SYNCTL = 0x2; 119 IO_VID_ENC_SYNCTL = 0x2;
119 IO_VID_ENC_LCDOUT = 0x101; 120 IO_VID_ENC_LCDOUT = 0x101;
120 IO_VID_ENC_VMOD = 0x2011; 121 IO_VID_ENC_VMOD = 0x2015; /* OF sets 0x2011 */
121 122
122 /* Copy Rockbox frame buffer to the second framebuffer */ 123 /* Copy Rockbox frame buffer to the second framebuffer */
123 lcd_update(); 124 lcd_update();
@@ -148,7 +149,7 @@ void lcd_init_device(void)
148 bitset16(&IO_CLK_MOD1, CLK_MOD1_VENC | CLK_MOD1_OSD); 149 bitset16(&IO_CLK_MOD1, CLK_MOD1_VENC | CLK_MOD1_OSD);
149 150
150 /* Enable Video Encoder - RGB666, custom timing */ 151 /* Enable Video Encoder - RGB666, custom timing */
151 IO_VID_ENC_VMOD = 0x2011; 152 IO_VID_ENC_VMOD = 0x2015;
152 avr_hid_lcm_wake(); 153 avr_hid_lcm_wake();
153 lcd_on = true; 154 lcd_on = true;
154} 155}