[PATCH v3 1/8] ARM: mx5: use config to define boot related addresses

Richard Zhao richard.zhao at freescale.com
Wed Dec 29 23:56:02 EST 2010


Signed-off-by: Richard Zhao <richard.zhao at freescale.com>
---
Because common clock is changing, I don't send out mx50 clock code.
But sure I tested the patch series using the clock code.

 arch/arm/mach-mx5/Makefile.boot |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-mx5/Makefile.boot b/arch/arm/mach-mx5/Makefile.boot
index 9939a19..fec7cd9 100644
--- a/arch/arm/mach-mx5/Makefile.boot
+++ b/arch/arm/mach-mx5/Makefile.boot
@@ -1,3 +1,3 @@
-   zreladdr-y	:= 0x90008000
-params_phys-y	:= 0x90000100
-initrd_phys-y	:= 0x90800000
+   zreladdr-$(CONFIG_ARCH_MX51)	:= 0x90008000
+params_phys-$(CONFIG_ARCH_MX51)	:= 0x90000100
+initrd_phys-$(CONFIG_ARCH_MX51)	:= 0x90800000
-- 
1.6.3.3





More information about the linux-arm-kernel mailing list