summaryrefslogtreecommitdiffstats
path: root/bootloader/main.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
commit58825f6e7391a237be85e63bee08f7a0bb66dc38 (patch)
tree1324b528137ce35623eb3332f32d422331f80777 /bootloader/main.c
parentf669797d077d081078407dd6dabf4e7389acf68f (diff)
downloadrockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.tar.gz
rockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.zip
Coldfire targets: Got the rest of the coldfire code out of backlight.c. Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/main.c')
-rw-r--r--bootloader/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index 0f3d706d7b..3b3e6ecae4 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -33,9 +33,6 @@
#include "font.h"
#include "adc.h"
#include "backlight.h"
-#ifdef IAUDIO_X5
-#include "backlight-target.h"
-#endif
#include "button.h"
#include "panic.h"
#include "power.h"
@@ -208,7 +205,7 @@ void main(void)
set_irq_level(0);
lcd_init();
- __backlight_on();
+ backlight_init();
font_init();
adc_init();
button_init();