From patchwork Tue Apr 17 19:01:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 153285 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 A6505B6FCA for ; Wed, 18 Apr 2012 05:02:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 25B30280E8; Tue, 17 Apr 2012 21:02:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 QRZnR+Pakcla; Tue, 17 Apr 2012 21:02:37 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 11A82280CB; Tue, 17 Apr 2012 21:02:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8E2F82808B for ; Tue, 17 Apr 2012 21:02:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 89AydWnPPhR2 for ; Tue, 17 Apr 2012 21:02:13 +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-ee0-f74.google.com (mail-ee0-f74.google.com [74.125.83.74]) by theia.denx.de (Postfix) with ESMTPS id 725B8280A9 for ; Tue, 17 Apr 2012 21:02:07 +0200 (CEST) Received: by eekc41 with SMTP id c41so314017eek.3 for ; Tue, 17 Apr 2012 12:02:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=TOSPtgRNVa+iZ1nG2kHNJIrSheT7GzBCVY9OS+Z/GD8=; b=KukjNV7eZhaXBkcCtSfgocd7E61/c7IoEEnBeiAE3985xqV2KAlAftSK6wER570qQf kTZWxPsQqBvwO4lIDgG9aQ4AgYgXnpQcXOcWm8wMtuXSHAGziRhqDIuLEu26FXsGpX2r 4ZEjwKQ8lOTbdl2njQF6BEtJVMzBfno5IKLC3QgOGhoKt+M2RUX7oRrnB34B3LsZ3G/3 hQcQ0cZ3BUrwofXtnldSP1WQsdZwbMulRbsHM/PornVlpzk/cP8H4BraLJ6J9OFD6j8A FCa68bL7K1+3AFpC5WGn9dRol0mGk99/HJV4Uf/tBYD0mhV3PnHA19lGb/nmoOV8cj9E W8zQ== Received: by 10.14.95.199 with SMTP id p47mr4147500eef.3.1334689327676; Tue, 17 Apr 2012 12:02:07 -0700 (PDT) Received: by 10.14.95.199 with SMTP id p47mr4147485eef.3.1334689327535; Tue, 17 Apr 2012 12:02:07 -0700 (PDT) Received: from hpza9.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id a14si22274395een.0.2012.04.17.12.02.07 (version=TLSv1/SSLv3 cipher=AES128-SHA); Tue, 17 Apr 2012 12:02:07 -0700 (PDT) Received: from sglass.mtv.corp.google.com (dhcp-172-22-162-38.mtv.corp.google.com [172.22.162.38]) by hpza9.eem.corp.google.com (Postfix) with ESMTP id 580775C0060; Tue, 17 Apr 2012 12:02:07 -0700 (PDT) Received: by sglass.mtv.corp.google.com (Postfix, from userid 121222) id 165BC140F5E; Tue, 17 Apr 2012 12:02:07 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Tue, 17 Apr 2012 12:01:36 -0700 Message-Id: <1334689297-13489-10-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1334689297-13489-1-git-send-email-sjg@chromium.org> References: <1334689297-13489-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQnMRVTu3xRMKnCp8Bla5VPQH6MRcUcL5GuCiANmLLrJhtldaIncUWaMW5/iw2v/EGn3RGVOuob0Oi/r2jNI4ZoZIA1KW6QhelmNhpsSgafpeQAURxuYhho/Ugr/osSZYCkqKX6fvlVzmd1jVc8GuByAePbCyuSLdyZCv1prs9nqx8GNyts= Cc: Tom Warren Subject: [U-Boot] [PATCH v4 09/10] tegra: Switch on console mux and use environment for console X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de All tegra boards will use these options by default. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- include/configs/tegra2-common.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index c5870dd..068ce88 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/tegra2-common.h @@ -132,11 +132,18 @@ #define CONFIG_SYS_NO_FLASH -/* Environment information */ +/* Environment information, boards can override if required */ +#define CONFIG_CONSOLE_MUX +#define CONFIG_SYS_CONSOLE_IS_IN_ENV +#define TEGRA2_DEVICE_SETTINGS "stdin=serial\0" \ + "stdout=serial\0" \ + "stderr=serial\0" + #define CONFIG_EXTRA_ENV_SETTINGS \ "console=ttyS0,115200n8\0" \ "mem=" TEGRA2_SYSMEM "\0" \ "smpflag=smp\0" \ + TEGRA2_DEVICE_SETTINGS #define CONFIG_LOADADDR 0x408000 /* def. location for kernel */ #define CONFIG_BOOTDELAY 2 /* -1 to disable auto boot */