u-boot-brain/arch
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
..
arc kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
arm ARM: OMAP: replace custom sr32() by standard I/O accessors 2014-04-17 14:39:54 -04:00
avr32 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
blackfin kbuild: improve Kbuild speed 2014-03-07 10:59:06 -05:00
m68k kbuild: rename OBJTREE to objtree 2014-03-12 17:04:58 -04:00
microblaze kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
mips usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
nds32 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
nios2 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
openrisc kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
powerpc mmc:eSDHC: Workaround for data timeout issue on Txxx SoC 2014-04-02 13:25:01 +03:00
sandbox sandbox: Add options to clean up temporary files 2014-03-17 20:05:49 -06:00
sh sh: fix PFC registers definition for SH772{2, 3, 4} 2014-03-14 14:49:54 +09:00
sparc usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
x86 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00