summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/imx233.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index 6dc503bb16..1169b392aa 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -43,6 +43,7 @@
43#include "version.h" 43#include "version.h"
44#include "powermgmt-imx233.h" 44#include "powermgmt-imx233.h"
45#include "partitions-imx233.h" 45#include "partitions-imx233.h"
46#include "backlight-target.h"
46#include "adc.h" 47#include "adc.h"
47 48
48#include "usb.h" 49#include "usb.h"
@@ -211,6 +212,12 @@ void main(uint32_t arg, uint32_t addr)
211 printf("Executing"); 212 printf("Executing");
212 /* stop what was initialized to start from clean state */ 213 /* stop what was initialized to start from clean state */
213 system_prepare_fw_start(); 214 system_prepare_fw_start();
215 /* if target defines lcd_enable() in bootloader, take this as a hint that
216 * we should use it to properly stop the lcd before moving one, the
217 * _backlight_off() routine is supposed to disable the lcd at the same time */
218#ifdef HAVE_LCD_ENABLE
219 _backlight_off();
220#endif
214 disable_interrupt(IRQ_FIQ_STATUS); 221 disable_interrupt(IRQ_FIQ_STATUS);
215 commit_discard_idcache(); 222 commit_discard_idcache();
216 kernel_entry(); 223 kernel_entry();