arm: lpc32xx: Remove unused hsuart driver
This driver is not enabled in any config currently, remove it. Cc: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -11,14 +11,6 @@
|
||||
|
||||
/* Basic CPU architecture */
|
||||
|
||||
/* UART configuration */
|
||||
#if (CONFIG_CONS_INDEX == 1) || (CONFIG_CONS_INDEX == 2) || \
|
||||
(CONFIG_CONS_INDEX == 7)
|
||||
#if !defined(CONFIG_LPC32XX_HSUART)
|
||||
#define CONFIG_LPC32XX_HSUART
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(CFG_SYS_NS16550_CLK)
|
||||
#define CFG_SYS_NS16550_CLK 13000000
|
||||
#endif
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <ns16550.h>
|
||||
#include <dm/platform_data/lpc32xx_hsuart.h>
|
||||
|
||||
#include <asm/arch/clk.h>
|
||||
#include <asm/arch/uart.h>
|
||||
@@ -53,26 +52,11 @@ static const struct ns16550_plat lpc32xx_uart[] = {
|
||||
.clock = CFG_SYS_NS16550_CLK, .fcr = UART_FCR_DEFVAL, },
|
||||
};
|
||||
|
||||
#if defined(CONFIG_LPC32XX_HSUART)
|
||||
static const struct lpc32xx_hsuart_plat lpc32xx_hsuart[] = {
|
||||
{ HS_UART1_BASE, },
|
||||
{ HS_UART2_BASE, },
|
||||
{ HS_UART7_BASE, },
|
||||
};
|
||||
#endif
|
||||
|
||||
U_BOOT_DRVINFOS(lpc32xx_uarts) = {
|
||||
#if defined(CONFIG_LPC32XX_HSUART)
|
||||
{ "lpc32xx_hsuart", &lpc32xx_hsuart[0], },
|
||||
{ "lpc32xx_hsuart", &lpc32xx_hsuart[1], },
|
||||
#endif
|
||||
{ "ns16550_serial", &lpc32xx_uart[0], },
|
||||
{ "ns16550_serial", &lpc32xx_uart[1], },
|
||||
{ "ns16550_serial", &lpc32xx_uart[2], },
|
||||
{ "ns16550_serial", &lpc32xx_uart[3], },
|
||||
#if defined(CONFIG_LPC32XX_HSUART)
|
||||
{ "lpc32xx_hsuart", &lpc32xx_hsuart[2], },
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user