OpenCloudOS-Kernel/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 omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-sx1.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-voiceblue.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board.h omap1: Fix compile for omap1_bl.c 2010-01-08 10:29:06 -08:00
clkdev.h
clkdev_omap.h OMAP3 clock: reorganize CK_* platform flags 2010-01-26 20:12:56 -07:00
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 omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
dsp_common.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
flash.h omap: convert boards to use physmap-flash 2010-02-15 10:03:32 -08:00
fpga.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
gpio-switch.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
gpio.h OMAP3: PM: GPIO context save/restore 2009-11-11 14:40:12 -08:00
gpmc-smc91x.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
gpmc.h omap3: SDP: Introducing 'board-sdp-flash.c' for flash init 2010-02-15 10:03:33 -08:00
hardware.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
hwa742.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
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
iommu.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
iommu2.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
iovmm.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
irda.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
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 Merge branch '7xx-iosplit-plat' with omap-fixes 2009-11-10 18:10:34 -08:00
lcd_mipid.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
led.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
mailbox.h omap: mailbox: OMAP4 Mailbox-driver Patch to support tasklet implementation 2009-11-22 10:24:33 -08:00
mcbsp.h McBSP: OMAP3: Add sidetone feature 2010-02-23 10:57:39 -08:00
mcspi.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
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
omap-alsa.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap-pm.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07: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 omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap850.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap1510.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
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
onenand.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
param.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
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 OMAP2: Add funcs for writing SMS_ROT_* registers 2009-12-09 11:44:32 +02:00
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 OMAP3: PM: CORE domain off-mode support 2009-11-11 14:42:25 -08:00
system.h omap: pass the reboot command to the boot loader 2010-03-11 14:50:00 -08:00
tc.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
timer-gp.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
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 OMAP: Add VRAM manager 2009-12-09 12:04:33 +02:00
vrfb.h OMAP: Add support for VRFB rotation engine 2009-12-09 12:04:33 +02:00