From patchwork Thu Jan 9 04:44:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: panchaxari X-Patchwork-Id: 22993 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EC030216DD for ; Thu, 9 Jan 2014 04:45:32 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id at1sf10600991iec.3 for ; Wed, 08 Jan 2014 20:45:32 -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=8MRk6X9ZhsTy8lw14KY/NQzfTcZ6gjKP+vTw+aRCod8=; b=JipjUhlTX1uNsQ3CTlZVEcJiSN2HrsSIUHEezWv8ylTuwm8IPzJ/MmnoR/XW6rb+2U dPLfSr51YlAhXMoNk5Xc+c0nnKuktO5+mBp4dSoFrnwshqjp8ZJI4CmGwG3tgs/p82Kp tj6vm8YjlkZXY8BB0AqgvFp3BGOL6Flpo3igcYaG0Pc4mMQz/5ZQmM2JjVSQ+4BbfqiE nUg25DSIxSvuBnP6ocsKFB+0eAZjVgkdxn/2WwdjFq677oRSGxNu8Gf7ld68a2dDSujE sNAtFwGx63cE0evd5WlXIOEB0Ri8SKuRzLsW3RuS8MTnKh2HOuR6oeOkhfB3D2uzZF+i 1GJg== X-Gm-Message-State: ALoCoQlyV2Uyf4cjQrOOkeG7fZ41qIneo/vEPnWsDoP2kfuTxbqCEIkaFHCQIi/4D9F1DD/PUp2q X-Received: by 10.50.12.68 with SMTP id w4mr779535igb.0.1389242732019; Wed, 08 Jan 2014 20:45:32 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.132.164 with SMTP id ov4ls811290qeb.32.gmail; Wed, 08 Jan 2014 20:45:31 -0800 (PST) X-Received: by 10.53.2.36 with SMTP id bl4mr577242vdd.32.1389242731941; Wed, 08 Jan 2014 20:45:31 -0800 (PST) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx.google.com with ESMTPS id gx6si1973156vdc.102.2014.01.08.20.45.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 20:45:31 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.50; Received: by mail-vb0-f50.google.com with SMTP id w18so1827724vbj.23 for ; Wed, 08 Jan 2014 20:45:31 -0800 (PST) X-Received: by 10.52.227.233 with SMTP id sd9mr87208vdc.53.1389242731800; Wed, 08 Jan 2014 20:45:31 -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.59.13.131 with SMTP id ey3csp269127ved; Wed, 8 Jan 2014 20:45:31 -0800 (PST) X-Received: by 10.66.228.37 with SMTP id sf5mr1223443pac.19.1389242730876; Wed, 08 Jan 2014 20:45:30 -0800 (PST) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id y1si2603430pbm.304.2014.01.08.20.45.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 20:45:30 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of panchaxari.prasannamurthy@linaro.org) client-ip=209.85.220.50; Received: by mail-pa0-f50.google.com with SMTP id kp14so2816023pab.9 for ; Wed, 08 Jan 2014 20:45:30 -0800 (PST) X-Received: by 10.66.163.164 with SMTP id yj4mr1157672pab.91.1389242730299; Wed, 08 Jan 2014 20:45:30 -0800 (PST) Received: from si-panchaxari.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id pq1sm6415355pbc.8.2014.01.08.20.45.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 20:45:29 -0800 (PST) From: panchaxari To: viresh.linux@gmail.com Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, panchaxari.prasannamurthy@linaro.org, Will Deacon , Pawel Moll , Russell King , Rob Herring , Shawn Guo , Olof Johansson , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH CFT] ARM:REALVIEW: Enable AUTO_ZRELADDR by default Date: Thu, 9 Jan 2014 10:14:14 +0530 Message-Id: <1389242654-3925-1-git-send-email-panchaxari.prasannamurthy@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: panchaxari.prasannamurthy@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.50 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: , This patch enables AUTO_ZRELADDR as default config to Realview platform. AUTO_ZRELADDR config enables auto calculation of the decompressed kernel image address. AUTO_ZRELADDR config is mutually exclusive to ZBOOT_ROM, and also assumes zImage to be loaded in the first 128MiB from start of memory. CFT::Call For Testing Requesting maintainers of Realview platforms to evaluate the changes on the board and comment, as I dont have the board for testing, and also requesting an ACK. Signed-off-by: panchaxari Cc: Will Deacon Cc: Pawel Moll Cc: Russell King Cc: Rob Herring Cc: Viresh Kumar Cc: Shawn Guo Cc: Olof Johansson Cc: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Below lkml link is a quoting by Russell, which explains more on concept of PHYS_VIRT and ZRELADDR ------------------------------------------------- https://lkml.org/lkml/2011/10/14/434 ------------------------------------------------- --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 3dfc3b8..077ef9d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -332,6 +332,7 @@ config ARCH_REALVIEW select ARCH_WANT_OPTIONAL_GPIOLIB select ARM_AMBA select ARM_TIMER_SP804 + select AUTO_ZRELADDR select COMMON_CLK select COMMON_CLK_VERSATILE select GENERIC_CLOCKEVENTS