Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
..
board-2430sdp.c ARM: OMAP: Add calls to omap2_set_globals_*() 2008-05-09 10:25:02 -07:00
board-apollon.c ARM: OMAP: Add calls to omap2_set_globals_*() 2008-05-09 10:25:02 -07:00
board-generic.c ARM: OMAP: Add calls to omap2_set_globals_*() 2008-05-09 10:25:02 -07:00
board-h4.c ARM: OMAP: Add calls to omap2_set_globals_*() 2008-05-09 10:25:02 -07:00
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 ARM: OMAP2: Clean up 24xx clock code 2008-04-14 10:29:38 -07:00
clock24xx.h ARM: OMAP: McBSP: Add support for mcbsp on mach-omap1 2008-07-03 12:24:40 +03:00
clock34xx.c ARM: OMAP2: New DPLL clock framework 2008-04-14 10:29:39 -07:00
clock34xx.h ARM: OMAP: McBSP: Add support for mcbsp on mach-omap2 2008-07-03 12:24:40 +03:00
cm-regbits-24xx.h ARM: OMAP2: Add common register access for 24xx and 34xx 2008-04-14 10:27:25 -07:00
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 ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
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 ARM: OMAP2: Register the L4 io bus to boot OMAP2 2008-03-06 13:28:06 +02:00
irq.c ARM: OMAP: Optimize INTC register accesses and enable autoidling 2007-09-20 09:59:19 -07:00
Kconfig ARM: OMAP: Add minimal OMAP2430 support 2007-09-20 09:59:20 -07:00
mailbox.c ARM: OMAP: Fix Unbalanced enable for IRQ in omap mailbox 2008-05-09 10:25:03 -07:00
Makefile ARM: OMAP: McBSP: Add support for mcbsp on mach-omap2 2008-07-03 12:24:40 +03:00
Makefile.boot
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 ARM: OMAP2: Change 24xx to use shared clock code and new reg access 2008-04-14 10:29:38 -07:00
mux.c ARM: OMAP: Introduce omap_globals and prcm access functions for multi-omap 2008-07-03 12:24:44 +03:00
pm.c ARM: OMAP2: Remove old 24xx PM code 2008-04-14 10:29:37 -07:00
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 ARM: OMAP2: Add common register access for 24xx and 34xx 2008-04-14 10:27:25 -07:00
prm-regbits-34xx.h ARM: OMAP2: Add register access for 34xx 2008-04-14 10:29:37 -07:00
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 ARM: OMAP: Enable serial idling and wakeup features 2007-08-22 00:42:52 -07:00
sleep.S ARM: OMAP2: Change 24xx to use new register access 2008-04-14 10:29:37 -07:00
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 ARM: OMAP: TUSB EVM init 2007-09-20 09:59:21 -07:00