mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
5076c64a08
commit
665624149a
7 changed files with 151 additions and 134 deletions
16
include/dm/platform_data/serial_stm32.h
Normal file
16
include/dm/platform_data/serial_stm32.h
Normal file
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue