From 665624149a55f43e25e13ea50bd0015c31e6c6bb Mon Sep 17 00:00:00 2001 From: Kamil Lulko Date: Tue, 1 Dec 2015 09:08:19 +0100 Subject: stm32: Convert serial driver to DM Signed-off-by: Kamil Lulko Cc: Simon Glass Reviewed-by: Simon Glass --- include/dm/platform_data/serial_stm32.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/dm/platform_data/serial_stm32.h (limited to 'include/dm/platform_data') diff --git a/include/dm/platform_data/serial_stm32.h b/include/dm/platform_data/serial_stm32.h new file mode 100644 index 0000000000..d1cfcbe54f --- /dev/null +++ b/include/dm/platform_data/serial_stm32.h @@ -0,0 +1,16 @@ +/* + * (C) Copyright 2015 + * Kamil Lulko, + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __SERIAL_STM32_H +#define __SERIAL_STM32_H + +/* Information about a serial port */ +struct stm32_serial_platdata { + struct stm32_usart *base; /* address of registers in physical memory */ +}; + +#endif /* __SERIAL_STM32_H */ -- cgit v1.2.1