From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh kumar Subject: Re: [RFC 1/5] ARM: P2V: separate PHYS_OFFSET from platform definitions Date: Wed, 5 Jan 2011 08:58:56 +0530 Message-ID: <4D23E578.7030108@st.com> References: <20110104202052.GE24935@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Russell King - ARM Linux Cc: Srinidhi KASAGAR , Kevin Hilman , Anton Vorontsov , Lennert Buytenhek , Kukjin Kim , Erik Gilling , "linux-sh@vger.kernel.org" , Vincent Sanders , "Hans J. Koch" , Magnus Damm , Marc Singer , Tony Lindgren , David Brown , Alessandro Rubini , Jiandong Zheng , Wan ZongShun , "linux-arm-msm@vger.kernel.org" , Olof Johansson , Ryan Mallon , "linux-samsung-soc@vger.kernel.org" , Ben Dooks , linux-t List-Id: linux-arm-msm@vger.kernel.org On 01/05/2011 01:52 AM, Russell King - ARM Linux wrote: > This uncouple PHYS_OFFSET from the platform definitions, thereby > facilitating run-time computation of the physical memory offset. > > Signed-off-by: Russell King > > diff --git a/arch/arm/plat-spear/include/plat/memory.h b/arch/arm/plat-spear/include/plat/memory.h > index 27a4aba..7e3599e 100644 > --- a/arch/arm/plat-spear/include/plat/memory.h > +++ b/arch/arm/plat-spear/include/plat/memory.h > @@ -15,6 +15,6 @@ > #define __PLAT_MEMORY_H > > /* Physical DRAM offset */ > -#define PHYS_OFFSET UL(0x00000000) > +#define PLAT_PHYS_OFFSET UL(0x00000000) > > #endif /* __PLAT_MEMORY_H */ Acked-by: Viresh Kumar -- viresh