nuttx/arch/arm/src/cxd56xx
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
..
hardware Fix typos and some incorrect comments 2020-01-20 09:32:36 -03:00
chip.h Rename arch/arm/src/cd56xx/chip to arch/arm/src/56xx/hardware. 2019-05-24 15:33:08 -06:00
cxd56_adc.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_adc.h Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
cxd56_allocateheap.c
cxd56_backuplog.c Merged in alinjerpelea/nuttx (pull request #1021) 2019-08-23 13:28:35 +00:00
cxd56_charger.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_charger.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_cisif.c cxd56xx improvements (#48) and various other fixes (#49) 2020-01-07 18:29:52 -03:00
cxd56_clock.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_clock.h Merged in alinjerpelea/nuttx (pull request #881) 2019-06-05 11:29:51 +00:00
cxd56_config.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_cpu1signal.c Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
cxd56_cpu1signal.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
cxd56_cpufifo.c cxd56xx improvements (#48) and various other fixes (#49) 2020-01-07 18:29:52 -03:00
cxd56_cpufifo.h Merged in alinjerpelea/nuttx (pull request #881) 2019-06-05 11:29:51 +00:00
cxd56_cpuidlestack.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_cpuindex.c Merged in masayuki2009/nuttx.nuttx/spresense_smp (pull request #1041) 2019-10-03 13:06:21 +00:00
cxd56_cpupause.c Merged in masayuki2009/nuttx.nuttx/spresense_smp (pull request #1041) 2019-10-03 13:06:21 +00:00
cxd56_cpustart.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_delay.c Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
cxd56_dmac_common.h Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
cxd56_dmac.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_dmac.h cxd56xx improvements (#48) 2020-01-07 11:21:58 -03:00
cxd56_emmc.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_emmc.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_farapi.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_farapi.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_farapistub.h Merged in alinjerpelea/nuttx (pull request #1038) 2019-09-26 11:28:26 +00:00
cxd56_farapistub.S cxd56xx improvements (#48) and various other fixes (#49) 2020-01-07 18:29:52 -03:00
cxd56_gauge.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_gauge.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_ge2d.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_geofence.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_geofence.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
cxd56_gnss_api.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
cxd56_gnss.c Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
cxd56_gnss.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
cxd56_gpio.c Merged in alinjerpelea/nuttx/code_style (pull request #887) 2019-06-10 13:00:57 +00:00
cxd56_gpio.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_gpioint.c Merged in masayuki2009/nuttx.nuttx/change_cxd56_gpioint_config (pull request #901) 2019-06-14 04:10:43 +00:00
cxd56_gpioint.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_i2c.c cxd56xx improvements (#48) and various other fixes (#49) 2020-01-07 18:29:52 -03:00
cxd56_i2c.h Fix some typos 2019-09-17 10:46:23 -06:00
cxd56_icc.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_icc.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_idle.c cxd56xx improvements (#48) 2020-01-07 11:21:58 -03:00
cxd56_irq.c cxd56xx improvements (#48) and various other fixes (#49) 2020-01-07 18:29:52 -03:00
cxd56_irq.h
cxd56_pinconfig.c Merged in alinjerpelea/nuttx/code_style (pull request #887) 2019-06-10 13:00:57 +00:00
cxd56_pinconfig.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_pmic.c cxd56xx improvements (#48) and various other fixes (#49) 2020-01-07 18:29:52 -03:00
cxd56_pmic.h cxd56xx improvements (#48) 2020-01-07 11:21:58 -03:00
cxd56_powermgr_procfs.c Merged in alinjerpelea/nuttx (pull request #902) 2019-06-14 18:40:06 +00:00
cxd56_powermgr_procfs.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_powermgr.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_powermgr.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_pwm.c drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated. 2019-09-02 07:57:10 -06:00
cxd56_pwm.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_rtc_lowerhalf.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_rtc.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_rtc.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_scu.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_scufifo.c Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
cxd56_scufifo.h Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
cxd56_sdhci.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_sdhci.h Merged in alinjerpelea/nuttx (pull request #1038) 2019-09-26 11:28:26 +00:00
cxd56_serial.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_serial.h
cxd56_sfc.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_sfc.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_sph.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_sph.h Merged in alinjerpelea/nuttx (pull request #1024) 2019-08-26 14:29:55 +00:00
cxd56_spi.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_spi.h Fix buffer overrun and memory leak on smartfs and improvement to cxd56xx 2020-01-08 07:51:11 -03:00
cxd56_start.c Fix buffer overrun and memory leak on smartfs and improvement to cxd56xx 2020-01-08 07:51:11 -03:00
cxd56_sysctl.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_sysctl.h Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
cxd56_timer.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_timer.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_timerisr.c Call xxx_timer_initialize from clock subsystem 2020-02-08 07:40:06 -06:00
cxd56_timerisr.h
cxd56_uart0.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_uart.c Fix typos. 2019-08-04 14:50:28 -06:00
cxd56_uart.h Rename arch/arm/src/cd56xx/chip to arch/arm/src/56xx/hardware. 2019-05-24 15:33:08 -06:00
cxd56_udmac.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
cxd56_udmac.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
cxd56_uid.c Merged in alinjerpelea/nuttx (pull request #907) 2019-06-17 22:02:19 +00:00
cxd56_uid.h Merged in alinjerpelea/nuttx (pull request #907) 2019-06-17 22:02:19 +00:00
cxd56_usbdev.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_usbdev.h cxd56xx improvements (#48) 2020-01-07 11:21:58 -03:00
cxd56_wdt.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
cxd56_wdt.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
Kconfig Change space to tab and help to ---help--- in Kconfig files. 2019-10-05 21:39:12 -06:00
Make.defs Fix buffer overrun and memory leak on smartfs and improvement to cxd56xx 2020-01-08 07:51:11 -03:00