All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@codeaurora.org>
To: Andy Gross <andy.gross@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: Makefile: Generalize qcom platform text offset
Date: Wed, 18 Jan 2017 15:27:23 -0800	[thread overview]
Message-ID: <20170118232726.22876-3-sboyd@codeaurora.org> (raw)
In-Reply-To: <20170118232726.22876-1-sboyd@codeaurora.org>

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 <sboyd@codeaurora.org>
---
 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
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: Makefile: Generalize qcom platform text offset
Date: Wed, 18 Jan 2017 15:27:23 -0800	[thread overview]
Message-ID: <20170118232726.22876-3-sboyd@codeaurora.org> (raw)
In-Reply-To: <20170118232726.22876-1-sboyd@codeaurora.org>

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 <sboyd@codeaurora.org>
---
 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
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@codeaurora.org>
To: Andy Gross <andy.gross@linaro.org>
Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: Makefile: Generalize qcom platform text offset
Date: Wed, 18 Jan 2017 15:27:23 -0800	[thread overview]
Message-ID: <20170118232726.22876-3-sboyd@codeaurora.org> (raw)
In-Reply-To: <20170118232726.22876-1-sboyd@codeaurora.org>

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 <sboyd@codeaurora.org>
---
 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
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

  parent reply	other threads:[~2017-01-18 23:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 23:27 [PATCH 0/5] Remove qcom SoC configs Stephen Boyd
2017-01-18 23:27 ` Stephen Boyd
     [not found] ` <20170118232726.22876-1-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-01-18 23:27   ` [PATCH 1/5] iommu: Generalize MSM_IOMMU config to ARCH_QCOM Stephen Boyd
2017-01-18 23:27     ` Stephen Boyd
2017-01-18 23:27     ` Stephen Boyd
     [not found]     ` <20170118232726.22876-2-sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-01-26 16:58       ` Joerg Roedel
2017-01-26 16:58         ` Joerg Roedel
2017-01-26 16:58         ` Joerg Roedel
2017-01-18 23:27 ` Stephen Boyd [this message]
2017-01-18 23:27   ` [PATCH 2/5] ARM: Makefile: Generalize qcom platform text offset Stephen Boyd
2017-01-18 23:27   ` Stephen Boyd
2017-01-18 23:31   ` Russell King - ARM Linux
2017-01-18 23:31     ` Russell King - ARM Linux
2017-01-18 23:51     ` Stephen Boyd
2017-01-18 23:51       ` Stephen Boyd
2017-01-18 23:27 ` [PATCH 3/5] ARM: qcom: Remove SoC specific configs Stephen Boyd
2017-01-18 23:27   ` Stephen Boyd
2017-01-18 23:27 ` [PATCH 4/5] ARM: qcom_defconfig: Drop " Stephen Boyd
2017-01-18 23:27   ` Stephen Boyd
2017-01-18 23:27 ` [PATCH 5/5] ARM: multi_v7_defconfig: Remove qcom SoC configs Stephen Boyd
2017-01-18 23:27   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170118232726.22876-3-sboyd@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --cc=andy.gross@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.