diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-19 03:43:41 -0500 |
|---|---|---|
| committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-07-07 10:38:35 -0400 |
| commit | 8d68fe7029ed2631363f6f37155586c0707b8dc0 (patch) | |
| tree | 151325ada1c53cfaf67a107cc8b5095698d2fba1 | |
| parent | 7179304bfcffbbc66ca8a8498d92e023833b017d (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>
| -rw-r--r-- | arch/arm/boot/compressed/Makefile | 9 |
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 | |||
| 79 | EXTRA_CFLAGS := -fpic -fno-builtin | 79 | EXTRA_CFLAGS := -fpic -fno-builtin |
| 80 | EXTRA_AFLAGS := -Wa,-march=all | 80 | EXTRA_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. |
| 85 | LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR) | 85 | LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR) |
| 86 | ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) | 86 | ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) |
| 87 | LDFLAGS_vmlinux += --be8 | 87 | LDFLAGS_vmlinux += --be8 |
| 88 | endif | 88 | endif |
| 89 | ifneq ($(INITRD_PHYS),) | ||
| 90 | LDFLAGS_vmlinux += --defsym initrd_phys=$(INITRD_PHYS) | ||
| 91 | endif | ||
| 92 | ifneq ($(PARAMS_PHYS),) | 89 | ifneq ($(PARAMS_PHYS),) |
| 93 | LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS) | 90 | LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS) |
| 94 | endif | 91 | endif |
