Resolve build errors flagged by GCC 6.2
With GCC 6.2 compiler, more C undefined behaviour is being flagged as
warnings, which result in build errors in ARM TF build.

This patch addresses issue caused by enums with values that exceed
maximum value for an int. For these cases the enum is converted to
a set of defines.

Change-Id: I5114164be10d86d5beef3ea1ed9be5863855144d
Signed-off-by: David Cunado <david.cunado@arm.com>
1 parent 3465ab6 commit 568ac1f730a3a7445b81c6b396d354e320ef8e6a
@David Cunado David Cunado authored on 1 Jun 2017
Showing 2 changed files
View
plat/mediatek/mt6795/include/mcucfg.h
View
plat/mediatek/mt8173/include/mcucfg.h