arm-trusted-firmware/include/lib/xlat_tables
Masahiro Yamada 03f55a588e xlat: remove cast in MAP_REGION to get back building with GCC 4.9
Since commit 769d65da77 ("xlat: Use MAP_REGION macro as compatibility
layer"), building with GCC 4.9 fails.

  CC      plat/arm/board/fvp/fvp_common.c
plat/arm/board/fvp/fvp_common.c:60:2: error: initializer element is not constant
  ARM_MAP_SHARED_RAM,
  ^
plat/arm/board/fvp/fvp_common.c:60:2: error: (near initialization for 'plat_arm_mmap[0]')
make: *** [Makefile:535: build/fvp/release/bl1/fvp_common.o] Error 1

Taking into account that MAP_REGION(_FLAT) is widely used in array
initializers, do not use cast.

Fixes: 769d65da77 ("xlat: Use MAP_REGION macro as compatibility layer")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-09-26 16:13:41 +09:00
..
aarch32 xlat lib: Fix some types 2017-07-26 09:28:23 +01:00
aarch64 xlat lib: Fix some types 2017-07-26 09:28:23 +01:00
xlat_mmu_helpers.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
xlat_tables.h include: add U()/ULL() macros for constants 2017-06-14 17:00:30 -07:00
xlat_tables_arch.h xlat lib: Reorganize architectural defs 2017-07-25 13:09:00 +01:00
xlat_tables_defs.h Helper macro to create MAIR encodings 2017-09-11 18:22:12 +01:00
xlat_tables_v2.h xlat: remove cast in MAP_REGION to get back building with GCC 4.9 2017-09-26 16:13:41 +09:00
xlat_tables_v2_helpers.h xlat lib v2: Export translation context as an opaque type 2017-07-25 13:09:00 +01:00