diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-17 14:24:52 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-17 09:12:40 +0100 |
commit | 40c6d8aee40e373db75e6b0b4230fc8e8259d7a6 (patch) | |
tree | 28dd575d38399a08b3c344596aafa81f554c05bb /arch/arm/mach-at91/Makefile.boot | |
parent | cd227fbffa9e971ee80065de772d3201c73e1670 (diff) | |
download | talos-op-linux-40c6d8aee40e373db75e6b0b4230fc8e8259d7a6.tar.gz talos-op-linux-40c6d8aee40e373db75e6b0b4230fc8e8259d7a6.zip |
ARM: 7022/1: allow to detect conflicting zreladdrs
Boards used to specify zreladdr in their Makefile.boot with
zreladdr-y := x, so conflicting zreladdrs were silently overwritten.
This patch changes this to zreladdr-y += x, so that we end
up with multiple words in zreladdr in such a case. We can
detect this later and complain if necessary.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/Makefile.boot')
-rw-r--r-- | arch/arm/mach-at91/Makefile.boot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/Makefile.boot b/arch/arm/mach-at91/Makefile.boot index 3462b815054a..9ab5a3e5f4f1 100644 --- a/arch/arm/mach-at91/Makefile.boot +++ b/arch/arm/mach-at91/Makefile.boot @@ -4,15 +4,15 @@ # INITRD_PHYS must be in RAM ifeq ($(CONFIG_ARCH_AT91CAP9),y) - zreladdr-y := 0x70008000 + zreladdr-y += 0x70008000 params_phys-y := 0x70000100 initrd_phys-y := 0x70410000 else ifeq ($(CONFIG_ARCH_AT91SAM9G45),y) - zreladdr-y := 0x70008000 + zreladdr-y += 0x70008000 params_phys-y := 0x70000100 initrd_phys-y := 0x70410000 else - zreladdr-y := 0x20008000 + zreladdr-y += 0x20008000 params_phys-y := 0x20000100 initrd_phys-y := 0x20410000 endif |