diff options
author | Adam Ford <adam.ford@logicpd.com> | 2015-09-02 09:18:20 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-02 11:33:20 -0400 |
commit | 7b77b1f63bd0fb2640a445b7f677b366b0616889 (patch) | |
tree | 94f5b26a69ffd1a5169b3b5ae0c7d7a85705fc2f /board/logicpd | |
parent | 2ec69b881c762af44e007be5f72fcc8e347d0e68 (diff) | |
download | u-boot-imx-7b77b1f63bd0fb2640a445b7f677b366b0616889.zip u-boot-imx-7b77b1f63bd0fb2640a445b7f677b366b0616889.tar.gz u-boot-imx-7b77b1f63bd0fb2640a445b7f677b366b0616889.tar.bz2 |
Convert omap3_logic to ti_omap3_common.h
Convert to using the common config files.
Signed-off-by: Adam Ford <adam.ford@logicpd.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/logicpd')
-rw-r--r-- | board/logicpd/omap3som/omap3logic.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 609edf1..babb0dc 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -12,6 +12,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> +#include <dm.h> +#include <ns16550.h> #include <netdev.h> #include <flash.h> #include <nand.h> @@ -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; |