Skip to content

Remove __REG macro access for multi-omap

Tony Lindgren linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5CF: Change omap_cf.c to use omap_readw/writew instead of __REG for multi-omapdrivers/pcmcia/omap_cf.c+10 -93 replies
2/5USB: 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+592 -4061 reply
3/5ARM: 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
4/5musb_hdrc: Change __REG access to omap_read/write for multi-bootdrivers/usb/musb/omap2430.c drivers/usb/musb/omap2430.h+41 -210 replies
5/5ARM: OMAP: Remove __REG access for multi-omapinclude/asm-arm/arch-omap/io.h+0 -230 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/5] Remove __REG macro access for multi-omap

Hi all,

Following patches remove the __REG macros as they don't play nicely with multi-omap if we have different IO bases as we cannot replace them easily with C functions if needed for non-optimized multi-omap.

The biggest patch is the USB conversion.. Please everybody try out these patches and let me know of any issues.

There are still some unnecessary read-modify-write read-modify-write cycles that could be replaced with single read-modify-write cycle. Please also keep your eyes open for register width issues between readw/writew and readl/writel.

Regards,

Tony