From patchwork Mon Jun 12 12:21:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 774595 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wmXTN2CcQz9s4s for ; Mon, 12 Jun 2017 22:36:56 +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="UF6tTDb4"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id 03FC1C21F01; Mon, 12 Jun 2017 12:25:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B03C5C21E97; Mon, 12 Jun 2017 12:23:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C4426C21E97; Mon, 12 Jun 2017 12:22:43 +0000 (UTC) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by lists.denx.de (Postfix) with ESMTPS id EB595C21E5E for ; Mon, 12 Jun 2017 12:22:39 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id s3so51741793oia.0 for ; Mon, 12 Jun 2017 05:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Qpu9czHDjL584XOsgbSCWiPR8yf04wfaeVIiz2/tBCs=; b=UF6tTDb48rhNTpnMDIHVQNbyV9QC8eDlThBxTnVGUqeNh2oxc/tNSgEThxx9iwPs4R HpDZvEHs1qlyRZF/EGaHzHGmtSGW29J3vG6O4aC5z3gjuvz4QCCcEsWCk3/5V1aIye+9 BeJVv0nGfE03I8I65UHgqHmF3ZS3Qcs/ZQcGTSHeOdvfwUWoq43V3N01zUFH25apzZl6 Iyaqnt4j/3v7yL5ncMYO6B8fB1hL8lbSoV7hYUFsoCni6GDFJuZlSrsB/T/bWq5nEy2s youmM5A/zfadySmMX4lzRwMpjh4y9hngyX5Esy2/aeYeEFitzPMjpO4s02gE05WtWSOh rzDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Qpu9czHDjL584XOsgbSCWiPR8yf04wfaeVIiz2/tBCs=; b=e4UxTID1Gzb3LHRiU8CKPyPaXX8/rjuVUguNwF6RxSm5ZO+b5vPJIJW9rNWFlkYp5J aZ33hqihCQSjZvGWBWDYsTBP8CBQjjuEpFG6hWP4R4THj1xxcrAbERDG/piEg7Dn4wz+ yiXhFv5HCpeSCBs0jZNVqnSZpDrNrwu3g2PmRPmIOr1ZRDoO42GzV949GDZUedbKJLET BX6saPA9xSBA389nD5bNn8Qu3FzhVGkpiEo8yZd0fufk2WsYypDV4OCddgc3s+QrK94I +36CyY/pllfI9riAJBPDGe7gXUYoe9vJGp90Oe0rUkAAl0XBJPkVUBM3erKi1xjXxZk1 lrwg== X-Gm-Message-State: AODbwcB/AaNsDderqHgqGDjYWeULElHQWJB8X/9lq4h18TkjJHtAzoVx Dd5p5vfkK8d5cWB+ X-Received: by 10.202.107.206 with SMTP id g197mr21064887oic.210.1497270158582; Mon, 12 Jun 2017 05:22:38 -0700 (PDT) Received: from kaki.bld.corp.google.com ([2620:0:10f2:12:b8cc:58f:9cc2:a52e]) by smtp.gmail.com with ESMTPSA id j50sm4846023otb.25.2017.06.12.05.22.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 05:22:38 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 8A6494013C; Mon, 12 Jun 2017 06:22:37 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 12 Jun 2017 06:21:40 -0600 Message-Id: <20170612122202.3379-14-sjg@chromium.org> X-Mailer: git-send-email 2.13.1.508.gb3defc5cc-goog In-Reply-To: <20170612122202.3379-1-sjg@chromium.org> References: <20170612122202.3379-1-sjg@chromium.org> Cc: Tom Rini , Stephen Warren , Marcel Ziswiler , Tom Warren Subject: [U-Boot] [PATCH v3 13/35] tegra: spl: Enable debug UART X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Enable the debug UART in SPL to allow early serial output even if the standard UART does not work (e.g. due to driver model problem). Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/mach-tegra/spl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-tegra/spl.c b/arch/arm/mach-tegra/spl.c index 41c88cb2b4..189b3da026 100644 --- a/arch/arm/mach-tegra/spl.c +++ b/arch/arm/mach-tegra/spl.c @@ -7,6 +7,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include +#include #include #include @@ -32,6 +33,9 @@ void spl_board_init(void) gpio_early_init_uart(); clock_early_init(); +#ifdef CONFIG_DEBUG_UART + debug_uart_init(); +#endif preloader_console_init(); }