mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Stefan Agner](/assets/img/avatar_default.png)
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>
16 lines
289 B
C
16 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
|