mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +00:00
83fd908f28
The MXC UART IP can be run in DTE or DCE mode. This depends on the board wiring and the pinmux used and hence is board specific. This extends platform data with a new field to choose wheather DTE mode shall be used. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org>
15 lines
289 B
C
15 lines
289 B
C
/*
|
|
* Copyright (c) 2014 Google, Inc
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __serial_mxc_h
|
|
#define __serial_mxc_h
|
|
|
|
/* Information about a serial port */
|
|
struct mxc_serial_platdata {
|
|
struct mxc_uart *reg; /* address of registers in physical memory */
|
|
bool use_dte;
|
|
};
|
|
|
|
#endif
|