diff options
| author | Barry Wardell <rockbox@barrywardell.net> | 2006-10-05 10:58:51 +0000 |
|---|---|---|
| committer | Barry Wardell <rockbox@barrywardell.net> | 2006-10-05 10:58:51 +0000 |
| commit | d4945dc0d07b23eced900075e8748ccc7fb3e424 (patch) | |
| tree | 4d67d49b4c036a841fb1ffe2e5f3a267bb9309d0 /firmware/backlight.c | |
| parent | 1d69db7355dc7e3cbabc3c1c949e5d6ba3863405 (diff) | |
| download | rockbox-d4945dc0d07b23eced900075e8748ccc7fb3e424.zip rockbox-d4945dc0d07b23eced900075e8748ccc7fb3e424.tar.gz rockbox-d4945dc0d07b23eced900075e8748ccc7fb3e424.tar.bz2 rockbox-d4945dc0d07b23eced900075e8748ccc7fb3e424.tar.xz | |
Move all iPod targets into the target tree. FS#5890
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/backlight.c')
| -rw-r--r-- | firmware/backlight.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index 5e1f592..997e26d 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c @@ -77,23 +77,6 @@ static inline void __backlight_on(void) or_b(0x40, &PADRH); /* drive it high */ #elif CONFIG_BACKLIGHT == BL_GMINI P1 |= 0x10; -#elif CONFIG_BACKLIGHT == BL_IPOD4G - /* brightness full */ - outl(0x80000000 | (0xff << 16), 0x7000a010); - - /* set port b bit 3 on */ - outl(((0x100 | 1) << 3), 0x6000d824); -#elif CONFIG_BACKLIGHT==BL_IPODMINI - /* set port B03 on */ - outl(((0x100 | 1) << 3), 0x6000d824); -#elif CONFIG_BACKLIGHT==BL_IPODNANO - /* set port B03 on */ - outl(((0x100 | 1) << 3), 0x6000d824); - - /* set port L07 on */ - outl(((0x100 | 1) << 7), 0x6000d12c); -#elif CONFIG_BACKLIGHT==BL_IPOD3G - outl(inl(0xc0001000) | 0x02, 0xc0001000); #elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX GPIO3_SET = 1; #endif @@ -115,23 +98,8 @@ static inline void __backlight_off(void) and_b(~0x40, &PADRH); /* drive it low */ #elif CONFIG_BACKLIGHT == BL_GMINI P1 &= ~0x10; -#elif CONFIG_BACKLIGHT == BL_IPOD4G - /* fades backlight off on 4g */ - outl(inl(0x70000084) & ~0x2000000, 0x70000084); - outl(0x80000000, 0x7000a010); -#elif CONFIG_BACKLIGHT==BL_IPODNANO - /* set port B03 off */ - outl(((0x100 | 0) << 3), 0x6000d824); - - /* set port L07 off */ - outl(((0x100 | 0) << 7), 0x6000d12c); #elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX GPIO3_CLR = 1; -#elif CONFIG_BACKLIGHT==BL_IPOD3G - outl(inl(0xc0001000) & ~0x02, 0xc0001000); -#elif CONFIG_BACKLIGHT==BL_IPODMINI - /* set port B03 off */ - outl(((0x100 | 0) << 3), 0x6000d824); #endif } #endif |