nuttx/boards/arm
Xiang Xiao 6d69439f58 Call xxx_timer_initialize from clock subsystem
Call xxx_timer_initialize from clock subsystem to make timer ready for use as soon as possiblei and revert the workaround:

commit 0863e771a9
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Apr 26 07:24:57 2019 -0600

    Revert "sched/clock/clock_initialize.c:  clock_inittime() needs to be done with CONFIG_SCHED_TICKLESS and clock_initialize should skip clock_inittime() for external RTC case since the RTC isn't ready yet."

    This reverts commit 2bc709d4b9.

    Commit 2bc709d4b9 was intended to handle the case where up_timer_gettime may not start from zero case.  However, this change has the side-effect of breaking every implementation of tickless mode:  After this change the tickless timer structures are used before they are initialized in clock_inittime().  Initialization happens later when up_initialize is called() when arm_timer_initialize().

    Since the tickless mode timer is very special, one solution might be to

    1. Rename xxx_timer_initialize to up_timer_initialize
    2  Move up_timer_initialize to include/nuttx/arch.h
    3.  Call it from clock subsystem instead up_initialize

    Basically, this change make timer initialization almost same as rtc initialization(up_rtc_initialize).

    For now, however, we just need to revert the change.
2020-02-08 07:40:06 -06:00
..
a1x Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
am335x Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
c5471 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
cxd56xx boards: spresense: Update README.txt 2020-02-06 09:21:51 +01:00
dm320 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
efm32
imx6 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
imxrt Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
kinetis Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
kl Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
lc823450 Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lpc17xx_40xx Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
lpc31xx Call xxx_timer_initialize from clock subsystem 2020-02-08 07:40:06 -06:00
lpc43xx Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
lpc54xx Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
lpc214x Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
lpc2378 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
max326xx Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
moxart Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
nrf52 Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
nuc1xx Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
s32k1xx Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
sam34 Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
sama5 Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
samd2l2 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
samd5e5 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
samv7 Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
stm32 Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
stm32f0l0g0 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
stm32f7 Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
stm32h7 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
stm32l4 Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
str71x Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
tiva Ensure all source code end with one and only one newline 2020-02-08 07:25:56 -06:00
tms570 Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
xmc4 Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00