summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/omap_common.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2014-03-25 14:49:50 +0100
committerTom Rini <trini@ti.com>2014-04-17 14:39:54 -0400
commita88e55c4c6ad92626cff205e3504b483df27c5a0 (patch)
treea40c3101413b989e33b94742b8595118ac5f43ef /arch/arm/include/asm/omap_common.h
parent4e4685027cc8e940d43a4d6e63773bfab9165913 (diff)
downloadblackbird-obmc-uboot-a88e55c4c6ad92626cff205e3504b483df27c5a0.tar.gz
blackbird-obmc-uboot-a88e55c4c6ad92626cff205e3504b483df27c5a0.zip
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>
Diffstat (limited to 'arch/arm/include/asm/omap_common.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud