From patchwork Tue Jul 2 19:16:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 2814331 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 133A9BF4A1 for ; Tue, 2 Jul 2013 19:19:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8FFE20123 for ; Tue, 2 Jul 2013 19:19:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BDFE8200EC for ; Tue, 2 Jul 2013 19:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754187Ab3GBTTB (ORCPT ); Tue, 2 Jul 2013 15:19:01 -0400 Received: from fallback3.mail.ru ([94.100.176.58]:43363 "EHLO fallback3.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753093Ab3GBTTA (ORCPT ); Tue, 2 Jul 2013 15:19:00 -0400 Received: from smtp41.i.mail.ru (smtp41.i.mail.ru [94.100.177.101]) by fallback3.mail.ru (mPOP.Fallback_MX) with ESMTP id 5740FEB9590A for ; Tue, 2 Jul 2013 23:17:11 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=z3mTF1xPJko2Btuq/wJv7x1AHbVHf1KIB4Gja6cgLIM=; b=bkBxiR9P++1OC1kuj3N/sbXXZvOvrN59e0m/QQQ95T+mnfT57I7TmYswolr2GidcdxaPMfxw90EVem/WNUUA0SAIq4Jg/gVBHjfdgvoN1iJYccQrVgPFcf+G+oiZXy1TemOoQL+I2vru5Hnva5jzUjSFHK2mbhTuuA/J/d5vhWI=; Received: from [188.134.40.128] (port=63138 helo=shc.zet) by smtp41.i.mail.ru with esmtpa (envelope-from ) id 1Uu64C-0008Ea-Ox; Tue, 02 Jul 2013 23:16:44 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org, Ben Dooks , Kukjin Kim , Alexander Shiyan Subject: [PATCH RESEND] ARM: plat-samsung: Fix switching FIFO in arch_enable_uart_fifo function Date: Tue, 2 Jul 2013 23:16:33 +0400 Message-Id: <1372792593-7457-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.1.5 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Mras: Ok Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RDNS_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When CONFIG_S3C_BOOT_UART_FORCE_FIFO symbol is set, we should enable FIFO but actually switch command is missing in the code. This patch adds this switching. Signed-off-by: Alexander Shiyan Reviewed-by: Tomasz Figa --- arch/arm/plat-samsung/include/plat/uncompress.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/plat-samsung/include/plat/uncompress.h b/arch/arm/plat-samsung/include/plat/uncompress.h index 4afc32f..f48dc0a 100644 --- a/arch/arm/plat-samsung/include/plat/uncompress.h +++ b/arch/arm/plat-samsung/include/plat/uncompress.h @@ -145,6 +145,8 @@ static inline void arch_enable_uart_fifo(void) if (!(fifocon & S3C2410_UFCON_RESETBOTH)) break; } + + uart_wr(S3C2410_UFCON, S3C2410_UFCON_FIFOMODE); } } #else