1
0
Fork 0
alistair23-linux/arch/arm/mach-omap1/include/mach
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
..
ams-delta-fiq.h ARM: OMAP1: Move plat/irqs.h to mach/irqs.h 2012-09-12 18:06:31 -07:00
board-ams-delta.h ARM: OMAP1: Move board-ams-delta.h from plat to mach 2012-09-20 15:02:19 -07:00
board-sx1.h ARM: OMAP1: Move board-sx1.h from plat to mach 2012-09-20 15:02:38 -07:00
board-voiceblue.h ARM: OMAP1: Move board-voiceblue.h from plat to mach 2012-09-20 15:02:40 -07:00
camera.h OMAP1: camera.h: add missing include 2010-11-05 12:13:10 -07:00
debug-macro.S ARM: OMAP: Split plat/serial.h for omap1 and omap2+ 2012-10-24 13:34:31 -07:00
entry-macro.S ARM: OMAP1: Remove relative includes 2012-10-31 15:37:14 -07:00
flash.h ARM: OMAP1: Move flash.h from plat to mach 2012-09-20 15:02:47 -07:00
hardware.h ARM: OMAP1: Remove relative includes 2012-10-31 15:37:14 -07:00
io.h ARM: fix __io macro for PCMCIA 2012-04-05 11:29:55 -07:00
irqs.h ARM: OMAP1: Move plat/irqs.h to mach/irqs.h 2012-09-12 18:06:31 -07:00
lcd_dma.h omap1: DMA: move LCD related code from plat-omap to mach-omap1 2009-12-11 16:16:33 -08:00
lcdc.h omap1: LCD_DMA: Use some define rather than a hexadecimal 2009-12-11 16:16:36 -08:00
memory.h ARM: 8113/1: remove remaining definitions of PLAT_PHYS_OFFSET from <mach/memory.h> 2014-07-29 23:08:52 +01:00
mtd-xip.h omap: headers: Move mtd-xip.h to be mach-omap1 specific 2009-10-19 17:32:55 -07:00
mux.h ARM: OMAP1: Make plat/mux.h omap1 only 2012-09-20 14:54:57 -07:00
omap7xx.h ARM: OMAP1: Move SoC specific headers from plat to mach for omap1 2012-09-12 18:06:31 -07:00
omap16xx.h ARM: OMAP1: Move SoC specific headers from plat to mach for omap1 2012-09-12 18:06:31 -07:00
omap1510.h ARM: OMAP: Make plat/fpga.h local to arch/arm/plat-omap 2012-10-17 11:36:37 -07:00
serial.h ARM: OMAP: Split plat/serial.h for omap1 and omap2+ 2012-10-24 13:34:31 -07:00
soc.h ARM: DRA7: id: Add cpu detection support for DRA7xx based SoCs' 2013-08-13 16:58:08 +05:30
tc.h ARM: OMAP1: Move plat/tc.h to mach/tc.h for omap1 2012-10-17 11:36:40 -07:00
uncompress.h ARM: remove unused arch_decomp_wdog() 2013-01-11 10:54:03 +08:00
usb.h ARM: OMAP1: USB: move omap_usb_config to platform data 2013-12-06 14:36:31 -06:00