summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-11-10 20:26:01 +0000
committerJens Arnold <amiconn@rockbox.org>2006-11-10 20:26:01 +0000
commit780f79e7a4028a57e4bf591539a540dbfae2496d (patch)
tree48ddec4b94e11ebc545070b2af6f52144661bf3c /firmware/backlight.c
parent270cb0b68172c740820f772563e66a79308e641e (diff)
downloadrockbox-780f79e7a4028a57e4bf591539a540dbfae2496d.tar.gz
rockbox-780f79e7a4028a57e4bf591539a540dbfae2496d.zip
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c6
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