diff options
author | Kamil Lulko <kamil.lulko@gmail.com> | 2015-12-01 09:08:19 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-12-12 15:56:08 -0500 |
commit | 665624149a55f43e25e13ea50bd0015c31e6c6bb (patch) | |
tree | 1cd8925446dd68c4e1267568ee7ca947200018ca /include/dm/platform_data | |
parent | 5076c64a08d2083af5a7761b12a30116ef0da967 (diff) |
stm32: Convert serial driver to DM
Signed-off-by: Kamil Lulko <kamil.lulko@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/platform_data')
-rw-r--r-- | include/dm/platform_data/serial_stm32.h | 16 |
1 files changed, 16 insertions, 0 deletions
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, <kamil.lulko@gmail.com> + * + * 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 */ |