Update marvell 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: I78f386f5ac171d6e52383a3e42003e6fb3e96b57
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
1 parent 21bde92 commit b19498b97b72879ad6ab746da9ee9a0020a413b1
@Justin Chadwell Justin Chadwell authored on 3 Jul 2019
Showing 5 changed files
View
drivers/marvell/mci.c
View
drivers/marvell/mochi/cp110_setup.c
View
plat/marvell/a8k/common/include/a8k_plat_def.h
View
plat/marvell/a8k/common/plat_ble_setup.c
View
plat/marvell/a8k/common/plat_pm.c