OpenCloudOS-Kernel/arch/arm/mach-footbridge
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
Kconfig ARM: footbridge: don't build floppy code for addin mode 2014-03-21 18:26:08 +01:00
Makefile ARM: footbridge: fix build with PCI disabled 2014-03-21 18:26:09 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
cats-hw.c ARM: 8025/1: Get rid of meminfo 2014-06-01 01:17:12 +01:00
cats-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
common.c ARM: footbridge: cleanup LEDs code 2013-12-29 12:36:44 +00:00
common.h ARM: footbridge: add sched_clock implementation 2013-12-29 12:35:55 +00:00
dc21285-timer.c ARM: 7995/1: footbridge: remove obsolete IRQF_DISABLED 2014-03-12 10:32:27 +00:00
dc21285.c ARM: 7995/1: footbridge: remove obsolete IRQF_DISABLED 2014-03-12 10:32:27 +00:00
dma.c Merge branch 'dma' into devel 2009-02-21 21:42:50 +00:00
ebsa285-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
ebsa285.c ARM: footbridge: cleanup LEDs code 2013-12-29 12:36:44 +00:00
isa-irq.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
isa-rtc.c ARM: footbridge: trim down old ISA rtc setup 2009-12-24 13:39:18 +00:00
isa-timer.c ARM: 7995/1: footbridge: remove obsolete IRQF_DISABLED 2014-03-12 10:32:27 +00:00
isa.c ARM: footbridge: trim down old ISA rtc setup 2009-12-24 13:39:18 +00:00
netwinder-hw.c ARM: 8025/1: Get rid of meminfo 2014-06-01 01:17:12 +01:00
netwinder-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
personal-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
personal.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00