summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-11-13 12:41:13 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2020-11-13 18:08:01 +0000
commitf65fb2a64abaf66b4d695be7fb3e114febea6bd1 (patch)
tree44fb913004ef2c82f5d56a7a6acc4ec4af319a79 /bootloader
parent8ac46f844f437a31f72d73a41a6d3852d8b96143 (diff)
downloadrockbox-f65fb2a64a.tar.gz
rockbox-f65fb2a64a.tar.bz2
rockbox-f65fb2a64a.zip
h300, Others Bugfix Bootloader backlight_init()
backlight_init needs to be called after lcd_init when using lcd_enable() Change-Id: Id034835c903801fea49e2b972c110c1ec5106976
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/creativezvm.c2
-rw-r--r--bootloader/iriver_h300.c4
-rw-r--r--bootloader/meizu_m3.c2
-rw-r--r--bootloader/mini2440.c2
-rw-r--r--bootloader/sansaconnect.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/bootloader/creativezvm.c b/bootloader/creativezvm.c
index 6597448193..415cab1ea3 100644
--- a/bootloader/creativezvm.c
+++ b/bootloader/creativezvm.c
@@ -57,8 +57,8 @@ void main(void)
/* Now enable interrupts */
set_irq_level(IRQ_ENABLED);
set_fiq_status(FIQ_ENABLED);
- backlight_init();
lcd_init();
+ backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
font_init();
button_init();
usb_init();
diff --git a/bootloader/iriver_h300.c b/bootloader/iriver_h300.c
index ca5c630e30..04eabcaec2 100644
--- a/bootloader/iriver_h300.c
+++ b/bootloader/iriver_h300.c
@@ -202,14 +202,14 @@ void main(void)
adc_init();
button_init();
- backlight_init();
-
lcd_init();
lcd_remote_init();
font_init();
lcd_setfont(FONT_SYSFIXED);
+ backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
+
printf("Rockbox boot loader");
printf("Version %s", rbversion);
diff --git a/bootloader/meizu_m3.c b/bootloader/meizu_m3.c
index 61308349f6..bbe3d77deb 100644
--- a/bootloader/meizu_m3.c
+++ b/bootloader/meizu_m3.c
@@ -147,8 +147,8 @@ void main(void)
system_init();
kernel_init();
- backlight_init();
lcd_init();
+ backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
lcd_update();
i2c_init();
diff --git a/bootloader/mini2440.c b/bootloader/mini2440.c
index 2bdd1a0f41..3556fb0633 100644
--- a/bootloader/mini2440.c
+++ b/bootloader/mini2440.c
@@ -62,8 +62,8 @@ int main(void)
/* system_init(); */
kernel_init();
/* enable_interrupt(IRQ_FIQ_STATUS); */
- backlight_init();
lcd_init();
+ backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
lcd_setfont(FONT_SYSFIXED);
button_init();
dma_init();
diff --git a/bootloader/sansaconnect.c b/bootloader/sansaconnect.c
index 5bd59b3ac4..a6559fee55 100644
--- a/bootloader/sansaconnect.c
+++ b/bootloader/sansaconnect.c
@@ -52,8 +52,8 @@ void main(void)
/* Now enable interrupts */
set_irq_level(IRQ_ENABLED);
set_fiq_status(FIQ_ENABLED);
- backlight_init();
lcd_init();
+ backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */
font_init();
button_init();