Skip to content

Big clean-up for multi-omap

Tony Lindgren linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ARM: OMAP: Fix debug-macro for multi_omapinclude/asm-arm/arch-omap/debug-macro.S+29 -110 replies
2/14CF: Change omap_cf.c to use omap_readw/writew instead of __REG for multi-omapdrivers/pcmcia/omap_cf.c+10 -90 replies
3/14USB: Change omap USB code to use omap_read/write instead of __REG for multi-omaparch/arm/mach-omap1/board-osk.c arch/arm/plat-omap/usb.c drivers/cbus/tahvo-usb.c +6 more+586 -4070 replies
4/14ARM: OMAP: Change __REG access to omap/read write for traffic controllerarch/arm/mach-omap1/board-osk.c drivers/mtd/maps/omap_nor.c drivers/pcmcia/omap_cf.c +1 more+26 -160 replies
5/14musb_hdrc: Change __REG access to omap_read/write for multi-bootdrivers/usb/musb/omap2430.c drivers/usb/musb/omap2430.h+41 -210 replies
6/14ARM: OMAP: Remove __REG access for multi-omapinclude/asm-arm/arch-omap/io.h+0 -230 replies
7/14ARM: OMAP: Split sleep24xx.S into sleep242x.S and sleep243x.Sarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/pm24xx.c arch/arm/mach-omap2/sleep242x.S +3 more+289 -1610 replies
8/14ARM: OMAP: Split sram24xx.S into sram242x.S and sram243x.Sarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/clock.c arch/arm/mach-omap2/pm24xx.c +7 more+723 -4360 replies
9/14ARM: OMAP: Remove omap_sram_patch_vaarch/arm/plat-omap/Kconfig arch/arm/plat-omap/sram.c include/asm-arm/arch-omap/sram.h +1 more+0 -790 replies
10/14ARM: OMAP: Introduce omap_globals and prcm access functions for multi-omaparch/arm/mach-omap2/cm.h arch/arm/mach-omap2/control.c arch/arm/mach-omap2/memory.c +8 more+144 -490 replies
11/14ARM: OMAP: Remove OMAP_PRM_REGADDRarch/arm/mach-omap2/clock24xx.c arch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h +7 more+206 -1170 replies
12/14ARM: OMAP: Remove OMAP_CM_REGADDR for multi-bootarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock34xx.h arch/arm/mach-omap2/cm.h+217 -2120 replies
13/14ARM: OMAP: Change to use CM offsets for clocks for multi-omaparch/arm/mach-omap2/clock24xx.c arch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/cm.h +1 more+172 -1590 replies
14/14ARM: OMAP: Use omap_globals for CPU detection for multi-omaparch/arm/mach-omap2/id.c arch/arm/plat-omap/common.c include/asm-arm/arch-omap/common.h +1 more+38 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/14] Big clean-up for multi-omap

Hi all,

Following patches clean up blockers for getting multi-omap closer to working for omap2 like we have for omap1:

- Remove __REG macros, use omap_read/write() instead

- Split omap24xx sram code so no register rewriting is needed

- Introduce struct omap_globals to allow early cpu detection to work

- Make PRM and CM registers work for multi-omap

The __REG patches were posted earlier, but had some issues. They should be fixed now.

The first patch is to test primitive omap type detection with DEBUG_LL. Could somebody please try it out on 15xx and make sure you get output from DEBUG_LL?

Once the DEBU_LL patch works on all omaps, we can use the similar detection for multi-omap non-optimized get_irq_nr_and_base too :)

These patches are against current linux-omap tree, I pushed few fixes there so you pull before trying out these patches.

Regards,

Tony