mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:16:56 +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>
9 lines
256 B
Clojure
9 lines
256 B
Clojure
# Note: the following conditions must always be true:
|
|
# ZRELADDR == virt_to_phys(TEXTADDR)
|
|
# PARAMS_PHYS must be within 4MB of ZRELADDR
|
|
# INITRD_PHYS must be in RAM
|
|
|
|
zreladdr-y += 0x00008000
|
|
params_phys-y := 0x00000100
|
|
initrd_phys-y := 0x00800000
|