arm-trusted-firmware/plat
Antonio Nino Diaz 03987d01e9 xlat: Fix compatibility between v1 and v2
There are several platforms using arm_setup_page_tables(), which is
supposed to be Arm platform only. This creates several dependency
problems between platforms.

This patch adds the definition XLAT_TABLES_LIB_V2 to the xlat tables lib
v2 makefile. This way it is possible to detect from C code which version
is being used and include the correct header.

The file arm_xlat_tables.h has been renamed to xlat_tables_compat.h and
moved to a common folder. This way, when in doubt, this header can be
used to guarantee compatibility, as it includes the correct header based
on XLAT_TABLES_LIB_V2.

This patch also removes the usage of ARM_XLAT_TABLES_V1 from QEMU (so
that is now locked in xlat lib v2) and ZynqMP (where it was added as a
workaround).

Change-Id: Ie1e22a23b44c549603d1402a237a70d0120d3e04
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-10-26 14:55:30 +01:00
..
allwinner allwinner: Remove references to removed build flags 2018-09-28 15:31:53 +01:00
arm xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00
common xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00
hisilicon Add plat_crash_console_flush to platforms without it 2018-10-25 09:56:09 +01:00
imx Merge pull request #1636 from antonio-nino-diaz-arm/an/console 2018-10-25 11:54:57 +02:00
layerscape Multi-console: Deprecate the `finish_console_register` macro 2018-10-19 17:34:52 +01:00
marvell Add plat_crash_console_flush to platforms without it 2018-10-25 09:56:09 +01:00
mediatek Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
nvidia/tegra Add plat_crash_console_flush to platforms without it 2018-10-25 09:56:09 +01:00
qemu xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00
renesas/rcar rcar_gen3: drivers: staging 2018-10-17 18:39:43 +02:00
rockchip rockchip: Use common crash console functions 2018-10-25 09:56:09 +01:00
rpi3 rpi3: Add mem reserve region to DTB if present 2018-10-24 13:54:41 +01:00
socionext uniphier: Migrate to new interfaces 2018-09-28 15:34:17 +01:00
st/stm32mp1 stm32mp1: update platform files to use MMC devices 2018-10-15 09:36:58 +02:00
ti/k3 Add plat_crash_console_flush to platforms without it 2018-10-25 09:56:09 +01:00
xilinx/zynqmp xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00