u-boot-brain/arch/arm
Wolfgang Denk a88e55c4c6 ARM: OMAP: replace custom sr32() by standard I/O accessors
Replace the custom bit manipulation function sr32() by standard I/O
accessors.  A major motivation for this cleanup was the fact, that a
number of calls of that function resulted in 32 bit wide shift
operations on u32 data, which according to the C-ISO/IEC-9899-Standard
provokes undefined behaviour:

	6.5.7 Bitwise shift operators
	...
        If the value of the right operand is negative or is greater
        than or equal to the width of the promoted left operand, the
        behavior is undefined.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
2014-04-17 14:39:54 -04:00
..
cpu ARM: OMAP: replace custom sr32() by standard I/O accessors 2014-04-17 14:39:54 -04:00
dts Merge branch 'master' of git://git.denx.de/u-boot-arm into master 2014-04-04 11:35:30 +02:00
imx-common Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-04-08 09:25:08 +02:00
include/asm ARM: OMAP: hide custom bit manipulation function sr32() 2014-04-17 14:39:54 -04:00
lib Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-04-08 09:25:08 +02:00
config.mk build:arm: Remove setting of CROSS_COMPILE environment variable 2014-04-07 20:04:36 +02:00