From patchwork Thu Jan 9 08:31:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: panchaxari X-Patchwork-Id: 22995 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 50866216DD for ; Thu, 9 Jan 2014 08:31:37 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id gq1sf9988674obb.6 for ; Thu, 09 Jan 2014 00:31:36 -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=bHKKOxVX2NpZoXBxdAe8ro1fxDMn5PDDnrvKMqvVMow=; b=IEuHM3mzEUixhHcfmFXKFUQEPLqGygUX1MH165G8ESk+mkLkmg8ybcwy3C7ZeYT/oW lf8U7/y0+M6km0DdV6+ezMLLiVhdie3uDzItIFukn+6Hcb1Txcpcxh2RZb1SAoIkPhgR KYf0Pd076fhkG6DpxHOviIiW5d4R8Z80QbkZZbrGCmDcKDAWgvD0izaJq/gt1xJZciV3 6ZDyeTvO8Zma6RCwLQKF/GjuvuCq2x1WpBkvyecYMNvtFizfEVVpnH3kZslarpgfYggk 3zleDyyjfX/wg7VP+ixKlJWLIYzh2A3J7tgE5RpvEPfJkhUcXnpRuqaswyvJm95iVT3I nuVw== X-Gm-Message-State: ALoCoQku41qmuQMG3xx81uACGzLxUOFUl7jTggUACtOnbruZJq7MkbGh11wDdN06Yq2dO6Rj+mmm X-Received: by 10.182.87.2 with SMTP id t2mr732986obz.2.1389256296437; Thu, 09 Jan 2014 00:31:36 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.128.200 with SMTP id nq8ls865551qeb.95.gmail; Thu, 09 Jan 2014 00:31:36 -0800 (PST) X-Received: by 10.52.231.162 with SMTP id th2mr15245vdc.61.1389256296355; Thu, 09 Jan 2014 00:31:36 -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 ja16si2357065vec.126.2014.01.09.00.31.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 00:31:36 -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 oy12so2132847veb.26 for ; Thu, 09 Jan 2014 00:31:36 -0800 (PST) X-Received: by 10.52.96.99 with SMTP id dr3mr12542vdb.69.1389256296210; Thu, 09 Jan 2014 00:31:36 -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 ey3csp277704ved; Thu, 9 Jan 2014 00:31:35 -0800 (PST) X-Received: by 10.68.252.5 with SMTP id zo5mr2379609pbc.10.1389256295068; Thu, 09 Jan 2014 00:31:35 -0800 (PST) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id nu5si3206435pbc.88.2014.01.09.00.31.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 00:31:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of panchaxari.prasannamurthy@linaro.org) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id q10so2879305pdj.36 for ; Thu, 09 Jan 2014 00:31:34 -0800 (PST) X-Received: by 10.68.195.4 with SMTP id ia4mr2260042pbc.142.1389256294179; Thu, 09 Jan 2014 00:31:34 -0800 (PST) Received: from si-panchaxari.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id tu3sm10162113pab.1.2014.01.09.00.31.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 00:31:33 -0800 (PST) From: panchaxari To: horms@verge.net.au Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, panchaxari.prasannamurthy@linaro.org, Laurent Pinchart , Magnus Damm , Russell King , Linus Walleij , linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH CFT] ARM:SHMOBILE: Enable AUTO_ZRELADDR by default Date: Thu, 9 Jan 2014 14:01:14 +0530 Message-Id: <1389256274-6308-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.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: , This patch enables AUTO_ZRELADDR as default config to Renasas R-Mobile and SH-Mobile platforms. 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 R-Mobile and SH-Mobile 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: Laurent Pinchart Cc: Simon Horman Cc: Magnus Damm Cc: Russell King Cc: Linus Walleij Cc: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Below lkml link is a quoting by Russell which clears the 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 8e668e2..077ef9d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -674,6 +674,7 @@ config ARCH_MSM config ARCH_SHMOBILE bool "Renesas SH-Mobile / R-Mobile" select ARM_PATCH_PHYS_VIRT + select AUTO_ZRELADDR select CLKDEV_LOOKUP select GENERIC_CLOCKEVENTS select HAVE_ARM_SCU if SMP