From: =?UTF-8?q?David=20M=C3=BCller?= Date: Sat, 6 Feb 2016 07:57:29 +0100 Subject: [U-Boot] [PATCH 5/5] s3c24xx: serial: Remove dead code In-Reply-To: <1454741849-1914-1-git-send-email-d.mueller@elsoft.ch> References: <1454741849-1914-1-git-send-email-d.mueller@elsoft.ch> Message-ID: <1454741849-1914-6-git-send-email-d.mueller@elsoft.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: David M?ller --- drivers/serial/serial_s3c24x0.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/serial/serial_s3c24x0.c b/drivers/serial/serial_s3c24x0.c index fb895fd..d4e7df2 100644 --- a/drivers/serial/serial_s3c24x0.c +++ b/drivers/serial/serial_s3c24x0.c @@ -103,12 +103,6 @@ static int serial_init_dev(const int dev_index) */ writel(0x245, &uart->ucon); - /* FIXME: This is sooooooooooooooooooo ugly */ -#if defined(CONFIG_ARCH_GTA02_v1) || defined(CONFIG_ARCH_GTA02_v2) - /* we need auto hw flow control on the gsm and gps port */ - if (dev_index == 0 || dev_index == 1) - writel(0x10, &uart->umcon); -#endif _serial_setbrg(dev_index); return (0); -- 1.8.4