stm32l4x: pinmux: add support for STM32L4
Change-Id: Ie505fe285d21070a98f2032cfd800a97095efa88 Signed-off-by: Fabien Parent <fparent@baylibre.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
0bf6c3860d
commit
fea5c561fa
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ static int enable_port(uint32_t port, struct device *clk)
|
|||
}
|
||||
|
||||
/* TODO: Merge this and move the port clock to the soc file */
|
||||
#ifdef CONFIG_SOC_SERIES_STM32F1X
|
||||
#if defined(CONFIG_SOC_SERIES_STM32F1X) || defined(CONFIG_SOC_SERIES_STM32L4X)
|
||||
clock_control_subsys_t subsys = stm32_get_port_clock(port);
|
||||
|
||||
return clock_control_on(clk, subsys);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue