From patchwork Wed Nov 27 09:33:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 21805 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 80D3923FE8 for ; Wed, 27 Nov 2013 09:33:56 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id l109sf15699848yhq.9 for ; Wed, 27 Nov 2013 01:33:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=d6p+B7nin4HDlmPSV6QJh2zf4TdmlDhJ2mGXSuEqIKc=; b=V4FmWZehkXngZ3TJEkAlTIyzICcfiWZB79gMYnMo92aod9YL/bz8mWszinNEZbleZU BepLVDgWULYqCxzbvSeVSs//j6/kJAQERrB5vsrqXaKBfPdd9qW8JctOWh3cMqN6NoXm RTM7AIql8IrIamFkn95YdidKCF15/dvnp2Mdo7Y6wC3ZPyExpeaUSPr8bxPCsgbqwxBg 4NBOgC2Ii3z7Lm7oGFW0TR9YPUJKdWPnPvP8fymvTvlkxbFwQmAHlv4A7KHOn0tSEYJM qeRHMxCgGlH+O/FR5OGkR7b3sjbNEFBtbyNfakMNuVSY1jWppwU4TAIZXWXt3lWqSM1S zQNw== X-Gm-Message-State: ALoCoQnAjty7W/fRb3UUAIDIvDDCeW+DXS8A//kpjZceLrW0HI4Jq8c4hsYr5sJryzJDZz7yprrr X-Received: by 10.224.5.5 with SMTP id 5mr18054086qat.4.1385544836111; Wed, 27 Nov 2013 01:33:56 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.58.180 with SMTP id s20ls3042311qeq.37.gmail; Wed, 27 Nov 2013 01:33:56 -0800 (PST) X-Received: by 10.52.171.79 with SMTP id as15mr28488181vdc.1.1385544836038; Wed, 27 Nov 2013 01:33:56 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id mq14si20783307vcb.131.2013.11.27.01.33.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Nov 2013 01:33:56 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so5028213veb.12 for ; Wed, 27 Nov 2013 01:33:56 -0800 (PST) X-Received: by 10.58.217.130 with SMTP id oy2mr8736206vec.24.1385544835961; Wed, 27 Nov 2013 01:33:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp271822vcz; Wed, 27 Nov 2013 01:33:55 -0800 (PST) X-Received: by 10.152.45.8 with SMTP id i8mr29562851lam.12.1385544835079; Wed, 27 Nov 2013 01:33:55 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) by mx.google.com with ESMTPS id k8si5952138lag.94.2013.11.27.01.33.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Nov 2013 01:33:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.48 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id n7so4982217lam.7 for ; Wed, 27 Nov 2013 01:33:54 -0800 (PST) X-Received: by 10.112.200.100 with SMTP id jr4mr949036lbc.36.1385544834445; Wed, 27 Nov 2013 01:33:54 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id di11sm60232813lac.0.2013.11.27.01.33.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Nov 2013 01:33:53 -0800 (PST) From: Linus Walleij To: u-boot@lists.denx.de Cc: Linus Walleij , Stefano Babic , Marek Vasut Subject: [PATCH 2/2] ARM: versatile: pass console setting to the kernel Date: Wed, 27 Nov 2013 10:33:49 +0100 Message-Id: <1385544829-22601-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The Versatiles come up with the primary UART set to ttyAMA0 at 38400 baud, and unless we pass this to the kernel it will assume it is set to 9600 baud which will be quite awkward for the terminal, let's try to be helpful and inform the kernel what setting is used. Cc: Stefano Babic Cc: Marek Vasut Signed-off-by: Linus Walleij --- include/configs/versatile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/versatile.h b/include/configs/versatile.h index 10738ac24be0..29c32fee5178 100644 --- a/include/configs/versatile.h +++ b/include/configs/versatile.h @@ -101,7 +101,8 @@ #define CONFIG_BOOTDELAY 2 #define CONFIG_BOOTARGS "root=/dev/nfs mem=128M ip=dhcp "\ - "netdev=25,0,0xf1010000,0xf1010010,eth0" + "netdev=25,0,0xf1010000,0xf1010010,eth0 "\ + "console=ttyAMA0,38400n1" /* * Static configuration when assigning fixed address