Move defines in utils.h to utils_def.h to fix shared header compile issues
utils.h is included in various header files for the defines in it.
Some of the other header files only contain defines.  This allows the
header files to be shared between host and target builds for shared defines.

Recently types.h has been included in utils.h as well as some function
prototypes.

Because of the inclusion of types.h conflicts exist building host tools
abd these header files now.  To solve this problem,
move the defines to utils_def.h and have this included by utils.h and
change header files to only include utils_def.h and not pick up the new
types.h being introduced.

Fixes ARM-software/tf-issues#461

Signed-off-by: Scott Branden <scott.branden@broadcom.com>

Remove utils_def.h from utils.h

This patch removes utils_def.h from utils.h as it is not required.
And also makes a minor change to ensure Juno platform compiles.

Change-Id: I10cf1fb51e44a8fa6dcec02980354eb9ecc9fa29
1 parent 264521b commit 53d9c9c85bc49845c4c40315e1ab29d627a1f8c3
@Scott Branden Scott Branden authored on 10 Apr 2017
Showing 16 changed files
View
include/bl32/payloads/tlk.h
View
include/common/bl_common.h
View
include/lib/aarch64/arch.h
View
include/lib/cpus/errata_report.h
View
include/lib/smcc.h
View
include/lib/utils.h
View
include/lib/utils_def.h 0 → 100644
View
include/lib/xlat_tables/xlat_tables_defs.h
View
include/plat/arm/board/common/board_css_def.h
View
include/plat/arm/common/arm_def.h
View
include/plat/arm/common/plat_arm.h
View
include/plat/arm/soc/common/soc_css_def.h
View
lib/xlat_tables/xlat_tables_private.h
View
lib/xlat_tables_v2/xlat_tables_private.h
View
plat/arm/board/juno/juno_trng.c
View
plat/arm/css/common/css_bl2_setup.c