diff --git a/trunk/bootrom/build/buildtools/commondefs.config b/trunk/bootrom/build/buildtools/commondefs.config index e5c7f1c..9d8895c 100644 --- a/trunk/bootrom/build/buildtools/commondefs.config +++ b/trunk/bootrom/build/buildtools/commondefs.config @@ -21,6 +21,7 @@ BROM_COMMONDEFS_CONFIG_ = TRUE #BROM_ENABLE_BOOTROM_WRITE = TRUE #BROM_DEV_EARLY_RELEASE = TRUE #BROM_DEF_LINK_SCATLD = TRUE +#BROM_ENABLE_THREAD = TRUE ifdef BROM_ENABLE_BOOTROM_WRITE MACRO_FLAGS += -DBROM_ENABLE_BOOTROM_WRITE @@ -31,6 +32,9 @@ endif ifdef BROM_DEF_LINK_SCATLD MACRO_FLAGS += -DBROM_DEF_LINK_SCATLD endif +ifdef BROM_ENABLE_THREAD +MACRO_FLAGS += -DBROM_ENABLE_THREAD +endif #---------------------------------------------------------------------------- endif # BROM_COMMONDEFS_CONFIG_ diff --git a/trunk/bootrom/build/libraries/os/ARM11/os_timer.c b/trunk/bootrom/build/libraries/os/ARM11/os_timer.c index 09f99bf..8739197 100644 --- a/trunk/bootrom/build/libraries/os/ARM11/os_timer.c +++ b/trunk/bootrom/build/libraries/os/ARM11/os_timer.c @@ -49,11 +49,8 @@ void osInitTimer( void ) osTimerClock = OS_TIMER_CLOCK_DEFAULT; - osDisableTimerAndWatchdog(); osStopTimer(); osStopWatchDog(); - - osEnableTimerAndWatchdog(); } }