mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 01:26:44 +07:00
40c6d8aee4
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)
|