freemyipod r740 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r739‎ | r740 | r741 >
Date:00:06, 12 July 2011
Author:theseven
Status:new
Tags:
Comment:
UMSboot: Initialize IRQ handling before initializing the LCD to avoid race condition
Modified paths:
  • /umsboot/main.c (modified) (history)

Diff [purge]

Index: umsboot/main.c
@@ -217,6 +217,7 @@
218218 #ifdef HAVE_TARGETINIT_VERYEARLY
219219 targetinit_veryearly();
220220 #endif
 221+ interrupt_init();
221222 #ifdef HAVE_LCD
222223 lcd_init();
223224 lcdconsole_init();
@@ -224,7 +225,6 @@
225226 #ifdef HAVE_TARGETINIT_EARLY
226227 targetinit_early();
227228 #endif
228 - interrupt_init();
229229 #ifdef HAVE_I2C
230230 i2c_init();
231231 #endif