summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 22:28:46 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 23:14:26 +0100
commit935c0ad14a6f7840c12c3c7fd706e8166cd73f6a (patch)
tree80c764ee7e8759d8c7dabf8e95d636fc49769a4c /bootloader
parent34fb6906dd645688870ff137a3d94cb58abca120 (diff)
downloadrockbox-935c0ad14a6f7840c12c3c7fd706e8166cd73f6a.tar.gz
rockbox-935c0ad14a6f7840c12c3c7fd706e8166cd73f6a.tar.bz2
rockbox-935c0ad14a6f7840c12c3c7fd706e8166cd73f6a.zip
imx233: stop the watchdog before loading main firmware
Change-Id: I0a13444d6788a09b0fc04ed1a5115cb2e5fe6f57
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/imx233.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index d115389985..6dc503bb16 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -209,6 +209,8 @@ void main(uint32_t arg, uint32_t addr)
kernel_entry = (void*) loadbuffer;
printf("Executing");
+ /* stop what was initialized to start from clean state */
+ system_prepare_fw_start();
disable_interrupt(IRQ_FIQ_STATUS);
commit_discard_idcache();
kernel_entry();