mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03: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:
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 */
|
||||
Reference in New Issue
Block a user