diff options
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r-- | firmware/backlight.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index c7d1add605..8a07197426 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c | |||
@@ -73,8 +73,6 @@ static inline void __backlight_on(void) | |||
73 | or_b(0x40, &PAIORH); | 73 | or_b(0x40, &PAIORH); |
74 | #elif CONFIG_BACKLIGHT == BL_PA14_HI /* Ondio */ | 74 | #elif CONFIG_BACKLIGHT == BL_PA14_HI /* Ondio */ |
75 | or_b(0x40, &PADRH); /* drive it high */ | 75 | or_b(0x40, &PADRH); /* drive it high */ |
76 | #elif CONFIG_BACKLIGHT == BL_GMINI | ||
77 | P1 |= 0x10; | ||
78 | #endif | 76 | #endif |
79 | } | 77 | } |
80 | 78 | ||
@@ -87,8 +85,6 @@ static inline void __backlight_off(void) | |||
87 | and_b(~0x40, &PAIORH); /* let it float (up) */ | 85 | and_b(~0x40, &PAIORH); /* let it float (up) */ |
88 | #elif CONFIG_BACKLIGHT == BL_PA14_HI /* Ondio */ | 86 | #elif CONFIG_BACKLIGHT == BL_PA14_HI /* Ondio */ |
89 | and_b(~0x40, &PADRH); /* drive it low */ | 87 | and_b(~0x40, &PADRH); /* drive it low */ |
90 | #elif CONFIG_BACKLIGHT == BL_GMINI | ||
91 | P1 &= ~0x10; | ||
92 | #endif | 88 | #endif |
93 | } | 89 | } |
94 | #endif | 90 | #endif |
@@ -568,8 +564,6 @@ void backlight_init(void) | |||
568 | #elif CONFIG_BACKLIGHT == BL_PA14_LO || CONFIG_BACKLIGHT == BL_PA14_HI | 564 | #elif CONFIG_BACKLIGHT == BL_PA14_LO || CONFIG_BACKLIGHT == BL_PA14_HI |
569 | PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */ | 565 | PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */ |
570 | or_b(0x40, &PAIORH); /* ..and output */ | 566 | or_b(0x40, &PAIORH); /* ..and output */ |
571 | #elif CONFIG_BACKLIGHT == BL_GMINI | ||
572 | P1CON |= 0x10; /* P1.4 C-MOS output mode */ | ||
573 | #endif | 567 | #endif |
574 | backlight_on(); | 568 | backlight_on(); |
575 | #ifdef HAVE_REMOTE_LCD | 569 | #ifdef HAVE_REMOTE_LCD |