mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-19 04:36:32 +07:00

The Makefile.boot file for the U300 port. This will compile the kernel for different ZRELADDR depending on the location of physical RAM in the chosen configuration. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
16 lines
386 B
Clojure
16 lines
386 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
|
|
|
|
ifdef CONFIG_MACH_U300_SINGLE_RAM
|
|
zreladdr-y := 0x28E08000
|
|
params_phys-y := 0x28E00100
|
|
else
|
|
zreladdr-y := 0x48008000
|
|
params_phys-y := 0x48000100
|
|
endif
|
|
|
|
# This isn't used.
|
|
#initrd_phys-y := 0x29800000
|