linux-stable-rt/arch/arm/mach-omap2
Paul Walmsley 097c584cd4 ARM: OMAP: Add OMAP chip type structure; clean up mach-omap2/id.c
Add a new OMAP chip identification interface, omap_chip_id.
omap_chip_id is a structure which contains one bit for each OMAP2/3
CPU type, and on 3430, ES level.  For example, the CHIP_IS_OMAP2420
bit is set in omap_chip at boot on an OMAP2420.  On OMAP3430ES2, both
CHIP_IS_OMAP3430 and CHIP_IS_OMAP3430ES2 bits are set.

omap_chip is set in mach-omap2/id.c by _set_omap_chip(). Other
code should use the omap_chip_is() function to test against omap_chip.

Also, clean up id.c by splitting some code out of
omap_check_revision() into its own function, _set_system_rev(); and
converting some debug printk()s into pr_debug().

Second revision.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2008-07-03 12:24:45 +03:00
..
Kconfig
Makefile ARM: OMAP: McBSP: Add support for mcbsp on mach-omap2 2008-07-03 12:24:40 +03:00
Makefile.boot
board-2430sdp.c
board-apollon.c
board-generic.c
board-h4.c
clock.c ARM: OMAP: SRAM: Split sram24xx.S into sram242x.S and sram243x.S 2008-07-03 12:24:38 +03:00
clock.h ARM: OMAP: Turn CM and PRM access into functions 2008-07-03 12:24:44 +03:00
clock24xx.c
clock24xx.h ARM: OMAP: McBSP: Add support for mcbsp on mach-omap1 2008-07-03 12:24:40 +03:00
clock34xx.c
clock34xx.h ARM: OMAP: McBSP: Add support for mcbsp on mach-omap2 2008-07-03 12:24:40 +03:00
cm-regbits-24xx.h
cm-regbits-34xx.h ARM: OMAP: Add fuctional clock enabler for iva2 2008-05-09 10:25:03 -07:00
cm.h ARM: OMAP: Turn CM and PRM access into functions 2008-07-03 12:24:44 +03:00
control.c ARM: OMAP: Introduce omap_globals and prcm access functions for multi-omap 2008-07-03 12:24:44 +03:00
devices.c
gpmc.c ARM: OMAP: Correcting the gpmc prefetch control register address 2008-06-06 15:44:12 -07:00
id.c ARM: OMAP: Add OMAP chip type structure; clean up mach-omap2/id.c 2008-07-03 12:24:45 +03:00
io.c
irq.c
mailbox.c
mcbsp.c ARM: OMAP: McBSP: Add support for mcbsp on mach-omap2 2008-07-03 12:24:40 +03:00
memory.c ARM: OMAP: Introduce omap_globals and prcm access functions for multi-omap 2008-07-03 12:24:44 +03:00
memory.h
mux.c ARM: OMAP: Introduce omap_globals and prcm access functions for multi-omap 2008-07-03 12:24:44 +03:00
pm.c
prcm-common.h ARM: OMAP: SRAM: Split sram24xx.S into sram242x.S and sram243x.S 2008-07-03 12:24:38 +03:00
prcm.c ARM: OMAP: Turn CM and PRM access into functions 2008-07-03 12:24:44 +03:00
prm-regbits-24xx.h
prm-regbits-34xx.h
prm.h ARM: OMAP: Turn CM and PRM access into functions 2008-07-03 12:24:44 +03:00
sdrc.h ARM: OMAP: Introduce omap_globals and prcm access functions for multi-omap 2008-07-03 12:24:44 +03:00
serial.c
sleep.S
sram242x.S ARM: OMAP: SRAM: Split sram24xx.S into sram242x.S and sram243x.S 2008-07-03 12:24:38 +03:00
sram243x.S ARM: OMAP: SRAM: Split sram24xx.S into sram242x.S and sram243x.S 2008-07-03 12:24:38 +03:00
timer-gp.c ARM: OMAP: DMTimer: Optimize by adding load and start 2008-07-03 12:24:30 +03:00
usb-tusb6010.c