From 7b77b1f63bd0fb2640a445b7f677b366b0616889 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Wed, 2 Sep 2015 09:18:20 -0500 Subject: Convert omap3_logic to ti_omap3_common.h Convert to using the common config files. Signed-off-by: Adam Ford Reviewed-by: Tom Rini --- board/logicpd/omap3som/omap3logic.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'board/logicpd/omap3som') diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 609edf1e5c..babb0dc0fe 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -12,6 +12,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include +#include +#include #include #include #include @@ -33,6 +35,18 @@ DECLARE_GLOBAL_DATA_PTR; * machine IDs; row it selected based on CPU column is slected based * on hsusb0_data5 pin having a pulldown resistor */ + +static const struct ns16550_platdata omap3logic_serial = { + OMAP34XX_UART1, + 2, + V_NS16550_CLK +}; + +U_BOOT_DEVICE(omap3logic_uart) = { + "serial_omap", + &omap3logic_serial +}; + static struct board_id { char *name; int machine_id; -- cgit v1.2.1