mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 13:30:55 +07:00
70bb62f8ec
RealView boards like PB11MPCore have 512MB of RAM available contiguously at 0x70000000. Half of the memory is mirrored at 0x00000000 for backwards compatibility. This patch adds the CONFIG_REALVIEW_HIGH_PHYS_OFFSET option option to change the physical base address so that the full amount of RAM is available to Linux. Note that the EB board has 256MB of RAM also mirrored at 0x70000000, the only board without this feature being PB1176. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
10 lines
224 B
Clojure
10 lines
224 B
Clojure
ifeq ($(CONFIG_REALVIEW_HIGH_PHYS_OFFSET),y)
|
|
zreladdr-y := 0x70008000
|
|
params_phys-y := 0x70000100
|
|
initrd_phys-y := 0x70800000
|
|
else
|
|
zreladdr-y := 0x00008000
|
|
params_phys-y := 0x00000100
|
|
initrd_phys-y := 0x00800000
|
|
endif
|