RE: [PATCH] ARM: OMAP: Add minimal OMAP2430 support

Woodruff, Richard
2006-06-11T12:15:29Z

> After looking at the files which are needed to change for
> prcm_read/write[l], clock.c needs the major update. I hope Richard is
> OK with going from __REG32(...) to __raw_read/write[l] based prcm_rw
> wrappers?
>
> Anyways, I have started doing that changes for other files.

I picked up this encoding from USB which uses it also. In general it
makes any kind of porting and sharing between some of our internal code
bases easier. It has a nice property of also being more compact (in C
file coding space) then other forms.

As far as portability goes header files do hide the any differences and
we use it seamlessly between 2420 and 2430 dispute them having very
different maps. It won't give you a single binary which runs across
OMAP1/OMAP2/OMAP3 but as you use a different compiler target v5, v6,
cortex, which produces incompatible binaries that has somewhat a lesser
importance.

Regards,
Richard W.