mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
m68k: add DM model serial driver
Boards can now use DM serial driver, or still legacy mcf uart driver version. Signed-off-by: Angelo Dureghello <angelo@sysam.it> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5044c9cc6c
commit
e27802af54
2 changed files with 167 additions and 44 deletions
23
include/dm/platform_data/serial_coldfire.h
Normal file
23
include/dm/platform_data/serial_coldfire.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2015 Angelo Dureghello <angelo@sysam.it>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __serial_coldfire_h
|
||||
#define __serial_coldfire_h
|
||||
|
||||
/*
|
||||
* struct coldfire_serial_platdata - information about a coldfire port
|
||||
*
|
||||
* @base: Uart port base register address
|
||||
* @port: Uart port index, for cpu with pinmux for uart / gpio
|
||||
* baudrtatre: Uart port baudrate
|
||||
*/
|
||||
struct coldfire_serial_platdata {
|
||||
unsigned long base;
|
||||
int port;
|
||||
int baudrate;
|
||||
};
|
||||
|
||||
#endif /* __serial_coldfire_h */
|
Loading…
Add table
Add a link
Reference in a new issue