summaryrefslogtreecommitdiff
path: root/bootloader/ipod.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/ipod.c')
-rw-r--r--bootloader/ipod.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index fa592b6f49..48812eae82 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -35,7 +35,7 @@
35#include "disk.h" 35#include "disk.h"
36#include "font.h" 36#include "font.h"
37#include "adc.h" 37#include "adc.h"
38#include "backlight.h" 38#include "backlight-target.h"
39#include "panic.h" 39#include "panic.h"
40#include "power.h" 40#include "power.h"
41#include "file.h" 41#include "file.h"
@@ -237,27 +237,7 @@ void* main(void)
237 237
238 /* Turn on the backlight */ 238 /* Turn on the backlight */
239 239
240#if CONFIG_BACKLIGHT==BL_IPOD4G 240 __backlight_on();
241 /* brightness full */
242 outl(0x80000000 | (0xff << 16), 0x7000a010);
243
244 /* set port B03 on */
245 outl(((0x100 | 1) << 3), 0x6000d824);
246
247#elif CONFIG_BACKLIGHT==BL_IPODMINI
248 /* set port B03 on */
249 outl(((0x100 | 1) << 3), 0x6000d824);
250
251#elif CONFIG_BACKLIGHT==BL_IPODNANO
252
253 /* set port B03 on */
254 outl(((0x100 | 1) << 3), 0x6000d824);
255
256 /* set port L07 on */
257 GPIOL_OUTPUT_VAL = ((0x100 | 1) << 7);
258#elif CONFIG_BACKLIGHT==BL_IPOD3G
259 outl(inl(IPOD_LCD_BASE) | 0x2, IPOD_LCD_BASE);
260#endif
261 241
262 TMP_IPOD_HW_REVISION = IPOD_HW_REVISION; 242 TMP_IPOD_HW_REVISION = IPOD_HW_REVISION;
263 ipod_hw_rev = IPOD_HW_REVISION; 243 ipod_hw_rev = IPOD_HW_REVISION;