[U-Boot] [PATCH] serial: serial_stm32: move clock config from driver to board
Simon Glass
sjg at chromium.org
Wed Jan 27 23:53:37 CET 2016
On 26 January 2016 at 19:12, Vikas Manocha <vikas.manocha at st.com> wrote:
> This patch removes the uart clock enable from serial driver & move it in the
> board code.
>
> Signed-off-by: Vikas Manocha <vikas.manocha at st.com>
> ---
> arch/arm/include/asm/arch-stm32f4/stm32_defs.h | 15 ++++++++
> arch/arm/include/asm/arch-stm32f4/stm32_periph.h | 27 +++++++++++++++
> arch/arm/mach-stm32/stm32f4/clock.c | 20 +++++++++++
> board/st/stm32f429-discovery/stm32f429-discovery.c | 3 ++
> drivers/serial/serial_stm32.c | 40 ----------------------
> 5 files changed, 65 insertions(+), 40 deletions(-)
> create mode 100644 arch/arm/include/asm/arch-stm32f4/stm32_defs.h
> create mode 100644 arch/arm/include/asm/arch-stm32f4/stm32_periph.h
Reviewed-by: Simon Glass <sjg at chromium.org>
You might consider adding a clock driver.
- Simon
More information about the U-Boot
mailing list