summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVikas Manocha <vikas.manocha@st.com>2017-02-12 10:25:44 -0800
committerTom Rini <trini@konsulko.com>2017-03-17 14:15:12 -0400
commit42bf5e7c27ae73b0e56c29f5af3cae5d15d35afa (patch)
treef9d107939b11b08fbb978440b98a040fc0405132 /board
parentc62c1b3c24408bdc48fba92d1ed6011e3a053beb (diff)
serial: stm32f7: add device tree support
This patch adds device tree support for stm32f7 serial driver & removes serial platform data structure. Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/st/stm32f746-disco/stm32f746-disco.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c
index 7ed7bf7263a..72212f49126 100644
--- a/board/st/stm32f746-disco/stm32f746-disco.c
+++ b/board/st/stm32f746-disco/stm32f746-disco.c
@@ -267,16 +267,6 @@ out:
return rv;
}
-static const struct stm32x7_serial_platdata serial_platdata = {
- .base = (struct stm32_usart *)USART1_BASE,
- .clock = CONFIG_SYS_CLK_FREQ,
-};
-
-U_BOOT_DEVICE(stm32x7_serials) = {
- .name = "serial_stm32x7",
- .platdata = &serial_platdata,
-};
-
#ifdef CONFIG_ETH_DESIGNWARE
const struct stm32_gpio_ctl gpio_ctl_eth = {
.mode = STM32_GPIO_MODE_AF,