[U-Boot] arm: omap: configs: various: Remove references to OMAP34XX_UARTx

Tom Rini trini at konsulko.com
Mon Aug 20 11:21:14 UTC 2018


On Tue, Aug 07, 2018 at 07:28:11AM -0500, Adam Ford wrote:

> Two boards include a reference to ti_omap3_common.h which
> points the UART driver to OMAP34XX_UARTx so the extra define
> should be unnecessary.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> ---
>  include/configs/omap3_evm.h     | 1 -
>  include/configs/omap3_pandora.h | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
> index 34418309cb..779087a949 100644
> --- a/include/configs/omap3_evm.h
> +++ b/include/configs/omap3_evm.h
> @@ -34,7 +34,6 @@
>  #define CONFIG_REVISION_TAG
>  
>  /* Override OMAP3 serial console configuration */
> -#define CONFIG_SYS_NS16550_COM1         OMAP34XX_UART1
>  
>  /* NAND */
>  #if defined(CONFIG_NAND)
> diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
> index 68e1d6f82d..1fc40e05ff 100644
> --- a/include/configs/omap3_pandora.h
> +++ b/include/configs/omap3_pandora.h
> @@ -36,7 +36,6 @@
>  #define CONFIG_SYS_NS16550_SERIAL
>  #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
>  #define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
> -#define CONFIG_SYS_NS16550_COM3		OMAP34XX_UART3
>  
>  /* commands to include */

This results in:
+(omap3_pandora) ../drivers/serial/serial_ns16550.c:31:2: error: #error "Console port 3 defined but not configured."
+(omap3_pandora)  #error "Console port 3 defined but not configured."
+(omap3_pandora)   ^~~~~
+(omap3_pandora) make[2]: *** [../scripts/Makefile.build:279: drivers/serial/serial_ns16550.o] Error 1
+(omap3_pandora) make[1]: *** [Makefile:1373: drivers/serial] Error 2
 
-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180820/e4f3bb26/attachment.sig>


More information about the U-Boot mailing list