summaryrefslogtreecommitdiff
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 @@
33#include "font.h" 33#include "font.h"
34#include "adc.h" 34#include "adc.h"
35#include "backlight.h" 35#include "backlight.h"
36#ifdef IAUDIO_X5
37#include "backlight-target.h"
38#endif
39#include "button.h" 36#include "button.h"
40#include "panic.h" 37#include "panic.h"
41#include "power.h" 38#include "power.h"
@@ -208,7 +205,7 @@ void main(void)
208 205
209 set_irq_level(0); 206 set_irq_level(0);
210 lcd_init(); 207 lcd_init();
211 __backlight_on(); 208 backlight_init();
212 font_init(); 209 font_init();
213 adc_init(); 210 adc_init();
214 button_init(); 211 button_init();