Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces

This commit is contained in:
Gregory Nutt 2015-11-20 08:27:52 -06:00
parent d30b73be82
commit 4b29bcee7f
6 changed files with 7 additions and 7 deletions

View File

@ -10045,7 +10045,7 @@
stm32_rtcc.c, stm32_rtcounter.c, and stm32f*_rcc.c: The
STM32F4Discovery board doesn't come with a Low speed external
oscillator so the default LSE source for the RTC doesn't work. In
stm32_rtcc.c the up_rtcinitialize() logic doesn't work with the LSI.
stm32_rtcc.c the up_rtc_initialize() logic doesn't work with the LSI.
The check on RTC_MAGIC on the BK0R register lead to rtc_setup() call
that rightfully enables the lsi clock; but the next times, when the
rtc is already setup, the rtc_resume() call does NOT start the lsi

@ -1 +1 @@
Subproject commit ffe506af460b9828138ee395b7a3b7ab8ff9ef73
Subproject commit 402546464095015a48662c75a13861a6100153fd

View File

@ -8777,7 +8777,7 @@ detailed bugfix information):
Jussi Kivilinna.
- STM32 RTC and clock control: The STM32F4Discovery board doesn't
come with a Low speed external oscillator so the default LSE source
for the RTC doesn't work. In stm32_rtcc.c the up_rtcinitialize()
for the RTC doesn't work. In stm32_rtcc.c the up_rtc_initialize()
logic doesn't work with the LSI. The check on RTC_MAGIC on the BK0R
register lead to rtc_setup() call that rightfully enables the LSI
clock; but the next times, when the rtc is already setup, the

2
arch

@ -1 +1 @@
Subproject commit a3bf280f61d4670019587c67526ea076af134f89
Subproject commit 676240da1156f13127dea95216f164d6ab4a766b

View File

@ -1765,7 +1765,7 @@ size_t up_check_intstack_remain(void);
****************************************************************************/
/****************************************************************************
* Name: up_rtcinitialize
* Name: up_rtc_initialize
*
* Description:
* Initialize the builtin, MCU hardware RTC per the selected
@ -1786,7 +1786,7 @@ size_t up_check_intstack_remain(void);
****************************************************************************/
#if defined(CONFIG_RTC) && !defined(CONFIG_RTC_EXTERNAL)
int up_rtcinitialize(void);
int up_rtc_initialize(void);
#endif
/************************************************************************************

View File

@ -206,7 +206,7 @@ void clock_initialize(void)
* must be deferred until the system has booted.
*/
up_rtcinitialize();
up_rtc_initialize();
#endif
/* Initialize the time value to match the RTC */