From patchwork Wed Jan 18 23:27:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9524971 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7E1A96020B for ; Wed, 18 Jan 2017 23:27:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7036E28596 for ; Wed, 18 Jan 2017 23:27:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64E232863E; Wed, 18 Jan 2017 23:27:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 05D8928596 for ; Wed, 18 Jan 2017 23:27:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cTzdu-0006tw-VA; Wed, 18 Jan 2017 23:27:50 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTzdr-0006pf-Nj for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2017 23:27:49 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2C4BE6089D; Wed, 18 Jan 2017 23:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484782048; bh=qpq04PMw4i3BJNFREAYeb8+9MdUHcmk8RUJ3ilFPWgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ba3oG+k9vNBUJ1Vi/hlB1sRTUagDxXk1Uf6fSHH2tdsoaoYV2NIDzOiVeXDvNjC/3 JCqRq0UPNkbhwySRTzy9YvlbNAdJk030ty+QjFG8P6+OKQ+N7J1qu7CSKROa0tlNUY zrKq+anRXLXJ/7Wq8jHl1MH4nldG0LP6RJRC9KLk= Received: from sboyd-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B196F6088D; Wed, 18 Jan 2017 23:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484782047; bh=qpq04PMw4i3BJNFREAYeb8+9MdUHcmk8RUJ3ilFPWgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S1v7kuRBl5PqudCh8TvULC6yhz9cQBH7MtsydfscJXu2b/VmE+bGWGEUzyvKxUvcN 3DzpLLJJwdDr/1LhhLQRyLkEmpapUXu8a64h0DlKulA90eCy2hJfMS9GmmGNO9pOOf 0EENC8Z+KnT56nMn4RkV5Bfvd4S8YUtC7ddO+kss= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B196F6088D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org From: Stephen Boyd To: Andy Gross Subject: [PATCH 2/5] ARM: Makefile: Generalize qcom platform text offset Date: Wed, 18 Jan 2017 15:27:23 -0800 Message-Id: <20170118232726.22876-3-sboyd@codeaurora.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170118232726.22876-1-sboyd@codeaurora.org> References: <20170118232726.22876-1-sboyd@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170118_152747_806217_D7C4724E X-CRM114-Status: GOOD ( 10.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some qcom platforms need a specific text offset because the first 2MB of memory is reserved for shared memory. Let's just always shift the text segment up by 2MB when ARCH_QCOM is selected so that we don't have to specify the specific platforms that exhibit this problem in Kconfig. Signed-off-by: Stephen Boyd --- arch/arm/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index ab30cc634d02..8a6d344e6043 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -145,8 +145,7 @@ textofs-$(CONFIG_PM_H1940) := 0x00108000 ifeq ($(CONFIG_ARCH_SA1100),y) textofs-$(CONFIG_SA1111) := 0x00208000 endif -textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000 -textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 +textofs-$(CONFIG_ARCH_QCOM) := 0x00208000 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 # Machine directory name. This list is sorted alphanumerically