ARM: mx5: use config to define boot related addresses
authorRichard Zhao <richard.zhao@freescale.com>
Thu, 30 Dec 2010 11:25:00 +0000 (19:25 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 3 Jan 2011 08:38:27 +0000 (09:38 +0100)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/Makefile.boot

index 9939a19d99a1fba431295b0ae189f74b2e61676a..fec7cd921fcd7e14306c72aebd90e9216bdea873 100644 (file)
@@ -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