Update mediatek 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: If5a88e1b880bcb2be2278398cf5109a6d877e632
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
1 parent 9e4afb0 commit 621d5f2a5b28bd897fbad21645b86d72d76b4863
@Justin Chadwell Justin Chadwell authored on 3 Jul 2019
Showing 3 changed files
View
plat/mediatek/mt8183/drivers/mcsi/mcsi.h
View
plat/mediatek/mt8183/include/mcucfg.h
View
plat/mediatek/mt8183/include/platform_def.h