ARM: OMAP2: Change 24xx to use new register access
authorPaul Walmsley <paul@pwsan.com>
Tue, 18 Mar 2008 08:04:51 +0000 (10:04 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 14 Apr 2008 17:29:37 +0000 (10:29 -0700)
commit445959821f82846913fe09fee0573e0238415e8c
tree38d0ec8fd827017e21961a42a58a9bcaaede7c6e
parentc595713da76bc7cedddf5135072ea6037cc0befb
ARM: OMAP2: Change 24xx to use new register access

This patch changes 24xx to use new register access, except for clock
framework. Clock framework register access will get updates in the
next patch.

Note that board-*.c files change GPMC (General Purpose Memory Controller)
access to use gpmc_cs_write_reg() instead of accessing the registers
directly. The code also uses gpmc_fck instead of it's parent clock
core_l3_ck for GPMC clock.

The H4 board file also adds h4_init_flash() function, which specify the
flash start and end addresses.

Also note that sleep.S removes some unused registers addresses.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
15 files changed:
arch/arm/mach-omap2/board-2430sdp.c
arch/arm/mach-omap2/board-apollon.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/memory.c
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/prcm-regs.h
arch/arm/mach-omap2/prcm.c
arch/arm/mach-omap2/sleep.S
arch/arm/mach-omap2/sram-fn.S
arch/arm/plat-omap/common.c
include/asm-arm/arch-omap/clock.h
include/asm-arm/arch-omap/entry-macro.S
include/asm-arm/arch-omap/io.h
include/asm-arm/arch-omap/omap24xx.h