From patchwork Wed Nov 19 15:28:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 41178 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 935F1241C9 for ; Wed, 19 Nov 2014 15:32:08 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id b6sf585304lbj.4 for ; Wed, 19 Nov 2014 07:32:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=0mCYYgAi+uorujmSFIXaaJlNn7wPyR1E+l7M7MKKxt0=; b=jB5kfwO4dKCZCNUk5EZlyEkvSCaIaut991UWsOExJI1myz2WukooY9uxURjv9IY214 Wfer+5GFDn8hPE74MAjwHqV/hTgUgHugBPyzwGaOTzqQXpT1A//w4peGOHSRvHgNcVmM YmxEsQBwrekIfPzykg1awEl/mWdlp+TpVnfRd3HRTjVS/TDQjw862D9PFXGRc3PiVCyl J1aCAsqQX/o5z+GAFyTdJOlb5ixH554HURYpTV4+z8uwS83Y2pvcmiK7wM3EFu4ll+Nm /UDmiCuQWqSBKNRsVg1XoWWMpB6k8QhwRUzo6fIY64x1fbjpwZarjoM2P9TTfBbR/2Pj umPA== X-Gm-Message-State: ALoCoQkXY7+YuQESw1xrHOLyVAl6Uwi24YiNgDp6xZ/ma0KOP1NQoJ1U0S4wyHB4Q9ylQK52RYzE X-Received: by 10.180.37.105 with SMTP id x9mr4914304wij.7.1416411127576; Wed, 19 Nov 2014 07:32:07 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.7 with SMTP id o7ls978954lao.55.gmail; Wed, 19 Nov 2014 07:32:07 -0800 (PST) X-Received: by 10.152.207.71 with SMTP id lu7mr2964880lac.81.1416411127315; Wed, 19 Nov 2014 07:32:07 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id k17si2130393laa.67.2014.11.19.07.32.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Nov 2014 07:32:07 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id 10so695137lbg.35 for ; Wed, 19 Nov 2014 07:32:07 -0800 (PST) X-Received: by 10.152.42.226 with SMTP id r2mr6056547lal.29.1416411127072; Wed, 19 Nov 2014 07:32:07 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp103003lbc; Wed, 19 Nov 2014 07:32:06 -0800 (PST) X-Received: by 10.220.97.210 with SMTP id m18mr72044vcn.57.1416411125869; Wed, 19 Nov 2014 07:32:05 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id i2si777553vcr.76.2014.11.19.07.32.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Nov 2014 07:32:05 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xr7Cs-0000M2-AB; Wed, 19 Nov 2014 15:30:10 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xr7Cq-0000LS-EE for xen-devel@lists.xen.org; Wed, 19 Nov 2014 15:30:08 +0000 Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id 8B/F2-17694-F77BC645; Wed, 19 Nov 2014 15:30:07 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-9.tower-31.messagelabs.com!1416411003!8762172!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.12.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31999 invoked from network); 19 Nov 2014 15:30:07 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-9.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 19 Nov 2014 15:30:07 -0000 X-IronPort-AV: E=Sophos;i="5.07,417,1413244800"; d="scan'208";a="192908029" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Wed, 19 Nov 2014 10:28:18 -0500 Received: from drall.uk.xensource.com ([10.80.16.71]) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1Xr7B3-00059R-CI; Wed, 19 Nov 2014 15:28:18 +0000 Received: by drall.uk.xensource.com (sSMTP sendmail emulation); Wed, 19 Nov 2014 15:28:17 +0000 From: Ian Campbell To: Date: Wed, 19 Nov 2014 15:28:12 +0000 Message-ID: <1416410895-20461-2-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1416410868.29243.39.camel@citrix.com> References: <1416410868.29243.39.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , julien.grall@linaro.org, tim@xen.org, Clark Laughlin , stefano.stabellini@eu.citrix.com, Pranavkumar Sawargaonkar Subject: [Xen-devel] [PATCH v2 for-4.5 2/5] xen: arm: Drop EARLY_PRINTK_BAUD from entries which don't set ..._INIT_UART X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: EARLY_PRINTK_BAUD doesn't do anything unless EARLY_PRINTK_INIT_UART is set. Furthermore only the pl011 driver implements the init routine at all, so the entries which use 8250 and specified a BAUD were doubly wrong. Signed-off-by: Ian Campbell Reviewed-by: Julien Grall --- v2: New patch. --- xen/arch/arm/Rules.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk index 30c7823..4ee51a9 100644 --- a/xen/arch/arm/Rules.mk +++ b/xen/arch/arm/Rules.mk @@ -45,7 +45,6 @@ ifeq ($(debug),y) # Early printk for versatile express ifeq ($(CONFIG_EARLY_PRINTK), vexpress) EARLY_PRINTK_INC := pl011 -EARLY_PRINTK_BAUD := 38400 EARLY_UART_BASE_ADDRESS := 0x1c090000 endif ifeq ($(CONFIG_EARLY_PRINTK), fastmodel) @@ -56,12 +55,10 @@ EARLY_UART_BASE_ADDRESS := 0x1c090000 endif ifeq ($(CONFIG_EARLY_PRINTK), exynos5250) EARLY_PRINTK_INC := exynos4210 -EARLY_PRINTK_BAUD := 115200 EARLY_UART_BASE_ADDRESS := 0x12c20000 endif ifeq ($(CONFIG_EARLY_PRINTK), midway) EARLY_PRINTK_INC := pl011 -EARLY_PRINTK_BAUD := 115200 EARLY_UART_BASE_ADDRESS := 0xfff36000 endif ifeq ($(CONFIG_EARLY_PRINTK), omap5432) @@ -91,7 +88,6 @@ EARLY_UART_REG_SHIFT := 2 endif ifeq ($(CONFIG_EARLY_PRINTK), xgene-storm) EARLY_PRINTK_INC := 8250 -EARLY_PRINTK_BAUD := 115200 EARLY_UART_BASE_ADDRESS := 0x1c020000 EARLY_UART_REG_SHIFT := 2 endif @@ -102,18 +98,15 @@ EARLY_UART_REG_SHIFT := 2 endif ifeq ($(CONFIG_EARLY_PRINTK), juno) EARLY_PRINTK_INC := pl011 -EARLY_PRINTK_BAUD := 115200 EARLY_UART_BASE_ADDRESS := 0x7ff80000 endif ifeq ($(CONFIG_EARLY_PRINTK), hip04-d01) EARLY_PRINTK_INC := 8250 -EARLY_PRINTK_BAUD := 115200 EARLY_UART_BASE_ADDRESS := 0xE4007000 EARLY_UART_REG_SHIFT := 2 endif ifeq ($(CONFIG_EARLY_PRINTK), seattle) EARLY_PRINTK_INC := pl011 -EARLY_PRINTK_BAUD := 115200 EARLY_UART_BASE_ADDRESS := 0xe1010000 endif