linux_dsm_epyc7002/arch/arm/mach-integrator
Uwe Kleine-König c6f54a9b39 ARM: 8113/1: remove remaining definitions of PLAT_PHYS_OFFSET from <mach/memory.h>
The platforms selecting NEED_MACH_MEMORY_H defined the start address of
their physical memory in the respective <mach/memory.h>. With
ARM_PATCH_PHYS_VIRT=y (which is quite common today) this is useless
though because the definition isn't used but determined dynamically.

So remove the definitions from all <mach/memory.h> and provide the
Kconfig symbol PHYS_OFFSET with the respective defaults in case
ARM_PATCH_PHYS_VIRT isn't enabled.

This allows to drop the dependency of PHYS_OFFSET on !NEED_MACH_MEMORY_H
which prevents compiling an integrator nommu-kernel.
(CONFIG_PAGE_OFFSET which has "default PHYS_OFFSET if !MMU" expanded to
"0x" because CONFIG_PHYS_OFFSET doesn't exist as INTEGRATOR selects
NEED_MACH_MEMORY_H.)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-07-29 23:08:52 +01:00
..
include/mach ARM: 8113/1: remove remaining definitions of PLAT_PHYS_OFFSET from <mach/memory.h> 2014-07-29 23:08:52 +01:00
cm.h ARM: integrator: move CM base into device tree 2013-10-16 14:09:56 +02:00
common.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
core.c ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
hardware.h ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
impd1.c ARM: integrator: fix section mismatch problem 2014-06-17 17:09:38 +02:00
impd1.h ARM: integrator: localize the impd1.h header 2014-02-26 13:49:06 +01:00
integrator_ap.c ARM: integrator: fix OF-related regression 2014-06-24 14:27:03 +02:00
integrator_cp.c ARM: integrator: fix OF-related regression 2014-06-24 14:27:03 +02:00
Kconfig ARM: integrator: fix section mismatch problem 2014-06-17 17:09:38 +02:00
leds.c ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
lm.c ARM: integrator: localize the lm.h header 2014-02-26 13:49:05 +01:00
lm.h ARM: integrator: localize the lm.h header 2014-02-26 13:49:05 +01:00
Makefile ARM: integrator: merge PCIv3 driver into one file 2013-06-03 08:04:30 +02:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pci_v3.c ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
pci_v3.h ARM: mach-integrator: Add stub for pci_v3_early_init() for !CONFIG_PCI 2013-09-25 21:59:52 -07:00