soc: stm32: Convert CONFIG_RTC leftover to DT_
Convert CONFIG_RTC_0_IRQ_PRI to DT_ namespace. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
2cefc60973
commit
d2e305491f
6 changed files with 6 additions and 6 deletions
|
@ -356,7 +356,7 @@ DEVICE_AND_API_INIT(rtc_stm32, DT_RTC_0_NAME, &rtc_stm32_init,
|
|||
|
||||
static void rtc_stm32_irq_config(struct device *dev)
|
||||
{
|
||||
IRQ_CONNECT(DT_RTC_0_IRQ, CONFIG_RTC_0_IRQ_PRI,
|
||||
IRQ_CONNECT(DT_RTC_0_IRQ, DT_RTC_0_IRQ_PRI,
|
||||
rtc_stm32_isr, DEVICE_GET(rtc_stm32), 0);
|
||||
irq_enable(DT_RTC_0_IRQ);
|
||||
}
|
||||
|
|
|
@ -305,7 +305,7 @@ DEVICE_AND_API_INIT(rtc_stm32, CONFIG_RTC_0_NAME, &rtc_stm32_init,
|
|||
|
||||
static void rtc_stm32_irq_config(struct device *dev)
|
||||
{
|
||||
IRQ_CONNECT(DT_RTC_0_IRQ, CONFIG_RTC_0_IRQ_PRI,
|
||||
IRQ_CONNECT(DT_RTC_0_IRQ, DT_RTC_0_IRQ_PRI,
|
||||
rtc_stm32_isr, DEVICE_GET(rtc_stm32), 0);
|
||||
irq_enable(DT_RTC_0_IRQ);
|
||||
}
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
#define DT_TIM_STM32_20_CLOCK_BUS DT_ST_STM32_TIMERS_40015000_CLOCK_BUS
|
||||
|
||||
#define DT_RTC_0_BASE_ADDRESS DT_ST_STM32_RTC_40002800_BASE_ADDRESS
|
||||
#define CONFIG_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ DT_ST_STM32_RTC_40002800_IRQ_0
|
||||
#define CONFIG_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
#define DT_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
|
|
|
@ -361,7 +361,7 @@
|
|||
#define DT_TIM_STM32_14_CLOCK_BUS DT_ST_STM32_TIMERS_40002000_CLOCK_BUS
|
||||
|
||||
#define DT_RTC_0_BASE_ADDRESS DT_ST_STM32_RTC_40002800_BASE_ADDRESS
|
||||
#define CONFIG_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ DT_ST_STM32_RTC_40002800_IRQ_0
|
||||
#define CONFIG_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
#define DT_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
|
|
|
@ -350,7 +350,7 @@
|
|||
#define DT_TIM_STM32_14_CLOCK_BUS DT_ST_STM32_TIMERS_40002000_CLOCK_BUS
|
||||
|
||||
#define DT_RTC_0_BASE_ADDRESS DT_ST_STM32_RTC_40002800_BASE_ADDRESS
|
||||
#define CONFIG_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ DT_ST_STM32_RTC_40002800_IRQ_0
|
||||
#define CONFIG_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
#define DT_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
|
|
|
@ -172,7 +172,7 @@
|
|||
#define DT_I2C_4_CLOCK_BUS DT_ST_STM32_I2C_V2_40008400_CLOCK_BUS
|
||||
|
||||
#define DT_RTC_0_BASE_ADDRESS DT_ST_STM32_RTC_40002800_BASE_ADDRESS
|
||||
#define CONFIG_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ_PRI DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ DT_ST_STM32_RTC_40002800_IRQ_0
|
||||
#define CONFIG_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
#define DT_RTC_0_NAME DT_ST_STM32_RTC_40002800_LABEL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue