kernel-ark/arch/arm/plat-omap/include/plat
Kevin Hilman 54c44fb7df OMAP2: cpu_is_omap2*: fix compile-time removal of unused code
Currently if omap2420 is defined but not omap2430, cpu_is_omap2430()
is still defined as a macro, instead of #define'd to zero.  This
results in conditional cpu_is_omap2430() code still being compiled,
and leads to possible compile/link errors.  In particular for hwmod
init.

To fix, add extra #ifdefs to CPU check macros to ensure that the
is_omap* macros are zero for each OMAP2 if they are not configured
into the kernel.

Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2010-03-11 15:55:43 -08:00
..
blizzard.h omap: Checkpatch cleanup for blizzard.h 2010-03-11 14:50:00 -08:00
board-ams-delta.h
board-sx1.h
board-voiceblue.h
board.h omap1: Fix compile for omap1_bl.c 2010-01-08 10:29:06 -08:00
clkdev_omap.h OMAP3 clock: reorganize CK_* platform flags 2010-01-26 20:12:56 -07:00
clkdev.h
clock.h OMAP4: clock: Add dummy clock nodes for interface clocks 2010-02-24 17:45:17 -07:00
clockdomain.h OMAP clockdomain/powerdomain: improve documentation 2010-01-26 20:13:02 -07:00
common.h omap2/3/4: ioremap omap_globals module 2010-02-23 10:57:40 -08:00
control.h omap4: Fix omap_type() for omap4 2010-02-23 10:57:41 -08:00
cpu.h OMAP2: cpu_is_omap2*: fix compile-time removal of unused code 2010-03-11 15:55:43 -08:00
display.h OMAP: DSS2: DSI: add dsi_vc_dcs_read_2() helper 2010-02-25 18:28:41 +02:00
dma-44xx.h omap4: Add auto-generated irq and dma headers 2010-02-23 14:02:52 -08:00
dma.h omap4: Use dma line defines from dma-44xx.h 2010-02-23 14:02:53 -08:00
dmtimer.h
dsp_common.h
flash.h omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
fpga.h
gpio-switch.h
gpio.h
gpmc-smc91x.h
gpmc.h omap3: SDP: Introducing 'board-sdp-flash.c' for flash init 2010-02-15 10:03:33 -08:00
hardware.h
hwa742.h
i2c.h omap: i2c: Fix muxing for command line enabled bus 2010-02-25 14:45:08 -08:00
io.h omap3/4: Remove overlapping mapping of L4_WKUP io space 2010-02-23 10:57:41 -08:00
iommu2.h
iommu.h
iovmm.h
irda.h
irqs-44xx.h omap4: Add auto-generated irq and dma headers 2010-02-23 14:02:52 -08:00
irqs.h omap4: Use irq line defines from irq-44xx.h 2010-02-23 15:29:08 -08:00
keypad.h
lcd_mipid.h
led.h
mailbox.h
mcbsp.h McBSP: OMAP3: Add sidetone feature 2010-02-23 10:57:39 -08:00
mcspi.h
memory.h omap2/3/4: Replace orred CONFIG_ARCH_OMAP2/3/4 with CONFIG_ARCH_OMAP2PLUS 2010-02-15 09:27:04 -08:00
menelaus.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
mmc.h omap_hsmmc: Allow for a shared VccQ 2010-02-15 10:03:34 -08:00
multi.h omap: Move multi-omap ifdeffery into it's own header file 2010-02-15 09:27:24 -08:00
mux.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
nand.h omap2/3/4: Introducing 'gpmc-nand.c' for GPMC specific NAND init 2010-02-15 10:03:33 -08:00
omap7xx.h omap1: Add 7xx clocks and pin muxes for SPI 2010-01-08 10:29:05 -08:00
omap16xx.h omap: Clean the serial port defines 2010-02-15 08:48:53 -08:00
omap24xx.h omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2 2010-02-15 09:27:01 -08:00
omap34xx.h omap3: Replace ARCH_OMAP34XX with ARCH_OMAP3 2010-02-15 09:27:02 -08:00
omap44xx.h Merge with mainline to remove plat-omap/Kconfig conflict 2010-03-01 14:19:05 -08:00
omap730.h
omap850.h
omap1510.h
omap_device.h OMAP: HWMOD: Add support for early device register into omap device layer 2010-02-24 12:05:58 -07:00
omap_hwmod.h OMAP hwmod: add hwmod class support 2010-02-24 17:45:14 -07:00
omap-alsa.h
omap-pm.h
onenand.h
param.h
powerdomain.h OMAP3 PM: Adding counters for power domain logic off and mem off during retention. 2010-02-24 12:05:50 -07:00
prcm.h omap: pass the reboot command to the boot loader 2010-03-11 14:50:00 -08:00
sdrc.h
serial.h omap: Make uncompress code and DEBUG_LL code generic 2010-02-15 08:49:01 -08:00
smp.h OMAP4: AuxCoreBoot registers only accessible in secure mode 2009-12-11 16:16:35 -08:00
sram.h
system.h omap: pass the reboot command to the boot loader 2010-03-11 14:50:00 -08:00
tc.h
timer-gp.h
timex.h
uncompress.h omap: Make uncompress code and DEBUG_LL code generic 2010-02-15 08:49:01 -08:00
usb.h omap2/3/4: ehci: avoid compiler error with touchbook 2010-03-11 09:32:03 -08:00
vram.h
vrfb.h