Convert omap3_logic to ti_omap3_common.h
PATCH 1/1 Convert omap3_logic to ti_omap3_common.h
Convert to using the common config files.
Signed-off-by Adam Ford <[email protected]>
---
arch/arm/cpu/armv7/omap3/Kconfig | 3 ++ board/logicpd/omap3som/omap3logic.c | 14 +++++++++ include/configs/omap3_logic.h | 59 +++++++---------------------------- 3 files changed, 28 insertions(+), 48 deletions(-)
arch/arm/cpu/armv7/omap3/Kconfig +3 -0
@@ -92,6 +92,9 @@ config TARGET_MCX config TARGET_OMAP3_LOGIC bool "OMAP3 Logic" + select DM + select DM_SERIAL + select DM_GPIO config TARGET_OMAP3_MVBLX bool "OMAP3 MVBLX"
board/logicpd/omap3som/omap3logic.c +14 -0
@@ -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;
include/configs/omap3_logic.h +11 -48
129 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 1/1 Convert omap3_logic to ti_omap3_common.h
Quoted 3 lines · Adam Ford
Convert to using the common config files.
Signed-off-by Adam Ford <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150902/cd7e6050/attachment.sig>
Quoted 4 lines · Adam Ford
Convert to using the common config files.
Signed-off-by Adam Ford <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150902/af19ec85/attachment.sig>