summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/ipodnano2g/lcd-nano2g.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s5l8700/ipodnano2g/lcd-nano2g.c')
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/lcd-nano2g.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/lcd-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/lcd-nano2g.c
index 76e35ead30..c430a327a2 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/lcd-nano2g.c
+++ b/firmware/target/arm/s5l8700/ipodnano2g/lcd-nano2g.c
@@ -25,6 +25,7 @@
25#include "lcd.h" 25#include "lcd.h"
26#include "system.h" 26#include "system.h"
27#include "cpu.h" 27#include "cpu.h"
28#include "pmu-target.h"
28 29
29 30
30/* The Nano 2G has two different LCD types. What we call "type 0" 31/* The Nano 2G has two different LCD types. What we call "type 0"
@@ -124,10 +125,11 @@ void lcd_set_flip(bool yesno)
124 } 125 }
125} 126}
126 127
127 128void lcd_shutdown(void)
128
129void lcd_off(void)
130{ 129{
130 pmu_write(0x2b, 0); /* Kill the backlight, instantly. */
131 pmu_write(0x29, 0);
132
131 if (lcd_type == 0) 133 if (lcd_type == 0)
132 { 134 {
133 s5l_lcd_write_cmd_data(R_DISPLAY_CONTROL_1, 0x232); 135 s5l_lcd_write_cmd_data(R_DISPLAY_CONTROL_1, 0x232);
@@ -151,6 +153,11 @@ void lcd_off(void)
151 } 153 }
152} 154}
153 155
156
157void lcd_off(void)
158{
159}
160
154void lcd_on(void) 161void lcd_on(void)
155{ 162{
156} 163}