serial: serial_stm32: move clock config from driver to board
authorVikas Manocha <vikas.manocha@st.com>
Wed, 27 Jan 2016 02:12:20 +0000 (18:12 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:10:36 +0000 (10:10 -0500)
commitdffceb4b15e4c5fd2487e625a08062a8120bd17f
tree05a29103a2e5f7ae1b580d9b53cc75dcd9919d8c
parent334a994a3c09607bc0a8f746ee2bbda5eaec3ede
serial: serial_stm32: move clock config from driver to board

This patch removes the uart clock enable from serial driver & move it in the
board code.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-stm32f4/stm32_defs.h [new file with mode: 0644]
arch/arm/include/asm/arch-stm32f4/stm32_periph.h [new file with mode: 0644]
arch/arm/mach-stm32/stm32f4/clock.c
board/st/stm32f429-discovery/stm32f429-discovery.c
drivers/serial/serial_stm32.c