summaryrefslogtreecommitdiff
path: root/firmware/target/arm/sandisk/sansa-e200
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/sandisk/sansa-e200')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/lcd-e200.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c
index 5bd14c2ece..3a26c47376 100644
--- a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c
@@ -24,7 +24,7 @@
24#include "system.h" 24#include "system.h"
25#include <string.h> 25#include <string.h>
26#include "backlight-target.h" 26#include "backlight-target.h"
27#include "pp5024.h" 27#include "cpu.h"
28 28
29/* Power and display status */ 29/* Power and display status */
30static bool power_on = false; /* Is the power turned on? */ 30static bool power_on = false; /* Is the power turned on? */
@@ -371,7 +371,7 @@ void lcd_init_device(void)
371 lcd_init_gpio(); 371 lcd_init_gpio();
372/* Controller init */ 372/* Controller init */
373 outl((inl(0x70000084) | (1 << 28)), 0x70000084); 373 outl((inl(0x70000084) | (1 << 28)), 0x70000084);
374 GPO32 &= ~(1 << 28); 374 GPO32_VAL &= ~(1 << 28);
375 DEV_INIT1 = ( (DEV_INIT1 & 0x03ffffff) | (0x15 << 26) ); 375 DEV_INIT1 = ( (DEV_INIT1 & 0x03ffffff) | (0x15 << 26) );
376 outl(((inl(0x70000014) & (0x0fffffff)) | (0x5 << 28)), 0x70000014); 376 outl(((inl(0x70000014) & (0x0fffffff)) | (0x5 << 28)), 0x70000014);
377 outl((inl(0x70000020) & ~(0x3 << 10)), 0x70000020); 377 outl((inl(0x70000020) & ~(0x3 << 10)), 0x70000020);
@@ -419,9 +419,9 @@ void lcd_init_device(void)
419 419
420/* LCD init */ 420/* LCD init */
421 /* Pull RESET low, then high to reset driver IC */ 421 /* Pull RESET low, then high to reset driver IC */
422 GPO32 &= ~(1 << 28); 422 GPO32_VAL &= ~(1 << 28);
423 udelay(10000); 423 udelay(10000);
424 GPO32 |= (1 << 28); 424 GPO32_VAL |= (1 << 28);
425 udelay(10000); 425 udelay(10000);
426 426
427 lcd_display_on(); 427 lcd_display_on();