diff options
author | angelo@sysam.it <angelo@sysam.it> | 2016-04-27 19:51:13 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 15:54:43 (GMT) |
commit | e27802af54c2ff2d4d58e4bc217644b75c04ac4c (patch) | |
tree | 42423d259b2a2a2cec6ea2be57dde397174ddf25 /include/dm/platform_data/serial_coldfire.h | |
parent | 5044c9cc6c4dffb2959769a785663f46cb418461 (diff) | |
download | u-boot-e27802af54c2ff2d4d58e4bc217644b75c04ac4c.tar.xz |
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>
Diffstat (limited to 'include/dm/platform_data/serial_coldfire.h')
-rw-r--r-- | include/dm/platform_data/serial_coldfire.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/dm/platform_data/serial_coldfire.h b/include/dm/platform_data/serial_coldfire.h new file mode 100644 index 0000000..5d86456 --- /dev/null +++ b/include/dm/platform_data/serial_coldfire.h @@ -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 */ |