From patchwork Mon Jul 4 17:57:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 644322 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3rjvw56Rndz9s4n for ; Tue, 5 Jul 2016 04:01:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=BqUXu4mw; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6941EA7532; Mon, 4 Jul 2016 20:00:43 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6vediFGe6JRW; Mon, 4 Jul 2016 20:00:43 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 35A26A75C6; Mon, 4 Jul 2016 19:59:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 576474BA29 for ; Mon, 4 Jul 2016 19:59:18 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16o6NFLvUfQy for ; Mon, 4 Jul 2016 19:59:18 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) by theia.denx.de (Postfix) with ESMTPS id 356CC4BFB2 for ; Mon, 4 Jul 2016 19:59:08 +0200 (CEST) Received: by mail-io0-f173.google.com with SMTP id f30so156831563ioj.2 for ; Mon, 04 Jul 2016 10:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=1LhidKNwpUlEzq9dI/DNToIshcIk79cQCxqnyIFuQ0Q=; b=BqUXu4mwPGIPnC778zJdkTYIb5AY5w7yZ5ef+wb4K7ovpJvcpS76U9izC2q85Tna+o kfCjn+l6SNbPp2TCs73fKkj69KzvhGMODgqyVXRsxHcWdahh+uUcsY/8QQ0G/5BNnLDT XzWj2wpx8gK+cQXsQZmJQber61Au+NqkGrf16z5N6MUjxEc8v3QzgpmHrkRw19A0SOx4 3kngBfkQaSgd/hCOTz1aV+5g+AFG2QCbb6O0jmy1rFP8tbvyTzi8yGgGQUhB05IKJHad RTXcufRSz7Qp5BBDg+HJP8+v789G8T4DZHzNWyD7cqz+rwuIt/aDcEA9BAivNgvCZRE6 sAww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=1LhidKNwpUlEzq9dI/DNToIshcIk79cQCxqnyIFuQ0Q=; b=O0F1JojPxUeCmVySPzHQzqFOi+3PsxLmUKbftUy0Kkp5fWH+4kj3aoyo6tADFZbBQz u7AVXwAacaJIgZ2+19Rt/DNSXZ+dhPldzLs5cxTMZdTdtlIXyNQ6sr4h5y5cQNuvgohA sE+utsJAm10Pcm7JHM0VbJu9SgQ9uBm3SDQiFc+98KbwERXCZxr+J843Uil9RRrLpzeB NL4YUbYYeD1yCd8tOiPHXcoJwG5X/N4iyjLdFvqV3ppuEifHJm+Qc81iPX8ozjLVpShx Or0rxxZ88j+VlUFidp5iQ0/gIlmbOP5ZR+Ybb+xmZU4X7quFT36KbL/MALhsTjNm2Og7 O4EQ== X-Gm-Message-State: ALyK8tKSZG0MfdPgfa4/5oOJTY+u8XXhZHASVeH7LeEGxtXpBwZSFOsyj46VSQsrq7vpQEyb X-Received: by 10.107.1.198 with SMTP id 189mr9921971iob.74.1467655146925; Mon, 04 Jul 2016 10:59:06 -0700 (PDT) Received: from kaki.bld.corp.google.com ([100.100.202.57]) by smtp.gmail.com with ESMTPSA id v77sm2001275ita.12.2016.07.04.10.59.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jul 2016 10:59:02 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 9809D221964; Mon, 4 Jul 2016 11:59:00 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 4 Jul 2016 11:57:53 -0600 Message-Id: <1467655123-29441-14-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1467655123-29441-1-git-send-email-sjg@chromium.org> References: <1467655123-29441-1-git-send-email-sjg@chromium.org> Cc: Tom Rini , Jeffy Chen , huang lin Subject: [U-Boot] [PATCH v3 13/62] sandbox: serial: Don't sync video in SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" SPL does not support an LCD display so there is no need to sync the video when there is serial output. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/serial/sandbox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index 58f882b..bcc3465 100644 --- a/drivers/serial/sandbox.c +++ b/drivers/serial/sandbox.c @@ -115,7 +115,9 @@ static int sandbox_serial_pending(struct udevice *dev, bool input) return 0; os_usleep(100); +#ifndef CONFIG_SPL_BUILD video_sync_all(); +#endif if (next_index == serial_buf_read) return 1; /* buffer full */