![Sascha Hauer](/assets/img/avatar_default.png)
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>
10 lines
266 B
Clojure
10 lines
266 B
Clojure
__ZRELADDR := $(shell /bin/bash -c 'printf "0x%08x" \
|
|
$$[$(CONFIG_MEMORY_START) + 0x8000]')
|
|
|
|
zreladdr-y += $(__ZRELADDR)
|
|
|
|
# Unsupported legacy stuff
|
|
#
|
|
#params_phys-y (Instead: Pass atags pointer in r2)
|
|
#initrd_phys-y (Instead: Use compiled-in initramfs)
|