mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 15:40:53 +07:00
c4761b69f4
If PM_H1940 is enabled, kernel _must_ be located upper then 0x30008000, because this area (0x30000000-0x30100000) can be used by bootloader. If kernel is located at 0x30008000, bootloader will corrupt kernel's code during resume. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
8 lines
151 B
Clojure
8 lines
151 B
Clojure
ifeq ($(CONFIG_PM_H1940),y)
|
|
zreladdr-y := 0x30108000
|
|
params_phys-y := 0x30100100
|
|
else
|
|
zreladdr-y := 0x30008000
|
|
params_phys-y := 0x30000100
|
|
endif
|