From d4945dc0d07b23eced900075e8748ccc7fb3e424 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Thu, 5 Oct 2006 10:58:51 +0000 Subject: 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 --- firmware/backlight.c | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'firmware/backlight.c') 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 -- cgit v1.1