aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-19 03:43:41 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-07-07 10:38:35 -0400
commit8d68fe7029ed2631363f6f37155586c0707b8dc0 (patch)
tree151325ada1c53cfaf67a107cc8b5095698d2fba1 /arch
parent7179304bfcffbbc66ca8a8498d92e023833b017d (diff)
ARM: zImage: don't define unused symbol initrd_phys
The only user of initrd_phys is arch/arm/boot/bootp/init.S which still gets the value passed to. Acked-by: Eric Miao <eric.miao@canonical.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/compressed/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 53faa9063a03..541944894734 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -79,16 +79,13 @@ endif
79EXTRA_CFLAGS := -fpic -fno-builtin 79EXTRA_CFLAGS := -fpic -fno-builtin
80EXTRA_AFLAGS := -Wa,-march=all 80EXTRA_AFLAGS := -Wa,-march=all
81 81
82# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via 82# Supply ZRELADDR and PARAMS_PHYS to the decompressor via linker symbols. We
83# linker symbols. We only define initrd_phys and params_phys if the 83# only define params_phys if the machine class defined the corresponding
84# machine class defined the corresponding makefile variable. 84# makefile variable.
85LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR) 85LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR)
86ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) 86ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
87LDFLAGS_vmlinux += --be8 87LDFLAGS_vmlinux += --be8
88endif 88endif
89ifneq ($(INITRD_PHYS),)
90LDFLAGS_vmlinux += --defsym initrd_phys=$(INITRD_PHYS)
91endif
92ifneq ($(PARAMS_PHYS),) 89ifneq ($(PARAMS_PHYS),)
93LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS) 90LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS)
94endif 91endif