Update layerscape platform to not rely on undefined overflow behaviour
This consists of ensuring that the left operand of each shift is
unsigned when the operation might overflow into the sign bit.

Change-Id: Ib63ef6e2e4616dd56828bfd3800d5fe2df109934
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
1 parent 36cfbf3 commit 9e4afb0272615a1c5f11d8371fd82c41a19499d5
@Justin Chadwell Justin Chadwell authored on 3 Jul 2019
Showing 3 changed files
View
plat/layerscape/board/ls1043/ls1043_psci.c
View
plat/layerscape/board/ls1043/ls_gic.c
View
plat/layerscape/common/include/soc.h