[RFC 1/5] ARM: P2V: separate PHYS_OFFSET from platform definitions

viresh kumar viresh.kumar at st.com
Tue Jan 4 22:28:56 EST 2011


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 <rmk+kernel at arm.linux.org.uk>
> 
> 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.kumar at st.com>

-- 
viresh



More information about the linux-arm-kernel mailing list