marvell: Switch to xlat_tables_v2
authorRemi Pommarel <repk@triplefau.lt>
Sun, 14 Jul 2019 18:34:28 +0000 (20:34 +0200)
committerRemi Pommarel <repk@triplefau.lt>
Tue, 16 Jul 2019 15:04:00 +0000 (17:04 +0200)
Use v2 xlat tables library instead of v1 for marvell platforms.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Change-Id: I838a6a878a8353e84eea9529721761b478943f0a

include/plat/marvell/a3700/common/marvell_def.h
include/plat/marvell/a3700/common/plat_marvell.h
include/plat/marvell/a8k/common/marvell_def.h
include/plat/marvell/a8k/common/plat_marvell.h
plat/marvell/common/aarch64/marvell_common.c
plat/marvell/common/marvell_common.mk

index 229b8b0295d4969c771b1821183ec59e4a9c2c39..eb13ba8afdd73cbad79384889f8784fedf62fb1a 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <arch.h>
 #include <common/tbbr/tbbr_img_def.h>
-#include <lib/xlat_tables/xlat_tables.h>
+#include <lib/xlat_tables/xlat_tables_v2.h>
 #include <plat/common/common_def.h>
 
 /****************************************************************************
index 8b8b53ffe8c9ba4734999e8e3657fe9af9a1c975..ea7cdcd4c3662dc20d9304d0e0ff124941034299 100644 (file)
@@ -13,7 +13,7 @@
 #include <common/bl_common.h>
 #include <lib/cassert.h>
 #include <lib/el3_runtime/cpu_data.h>
-#include <lib/xlat_tables/xlat_tables.h>
+#include <lib/xlat_tables/xlat_tables_v2.h>
 
 /*
  * Extern declarations common to Marvell standard platforms
index 5ba90f711ec2df791329e3af7a6bfa5729028748..4eda01f1e2a15a00108a6f03659e04fb37957357 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <arch.h>
 #include <common/tbbr/tbbr_img_def.h>
-#include <lib/xlat_tables/xlat_tables.h>
+#include <lib/xlat_tables/xlat_tables_v2.h>
 #include <plat/common/common_def.h>
 
 /******************************************************************************
index 65d4de8a6c78e0106e0031ab43975db2707d41fc..5d805a7f19cb320fa06d17c59de9b5a038813bc6 100644 (file)
@@ -13,7 +13,7 @@
 #include <lib/cassert.h>
 #include <lib/el3_runtime/cpu_data.h>
 #include <lib/utils.h>
-#include <lib/xlat_tables/xlat_tables.h>
+#include <lib/xlat_tables/xlat_tables_v2.h>
 
 /*
  * Extern declarations common to Marvell standard platforms
index ea0902cc07ad67621932c2e488917214e4047ef2..21a62d483d553500758a4c90fa41571cf5912920 100644 (file)
@@ -13,7 +13,7 @@
 #include <arch_helpers.h>
 #include <common/debug.h>
 #include <lib/mmio.h>
-#include <lib/xlat_tables/xlat_tables.h>
+#include <lib/xlat_tables/xlat_tables_v2.h>
 
 #include <plat_marvell.h>
 
index 5c8e804f2046b88541f88ada913d231b7104b245..f41d7a47f26d0f9a095629739cc93de739843113 100644 (file)
@@ -20,12 +20,13 @@ $(eval $(call add_define,ARO_ENABLE))
 LLC_ENABLE                     := 1
 $(eval $(call add_define,LLC_ENABLE))
 
+include lib/xlat_tables_v2/xlat_tables.mk
+
 PLAT_INCLUDES          +=      -I$(MARVELL_PLAT_INCLUDE_BASE)/common   \
                                -I$(MARVELL_PLAT_INCLUDE_BASE)/common/aarch64
 
 
-PLAT_BL_COMMON_SOURCES  +=      lib/xlat_tables/xlat_tables_common.c                   \
-                               lib/xlat_tables/aarch64/xlat_tables.c                   \
+PLAT_BL_COMMON_SOURCES  += ${XLAT_TABLES_LIB_SRCS} \
                                $(MARVELL_PLAT_BASE)/common/aarch64/marvell_common.c    \
                                $(MARVELL_PLAT_BASE)/common/aarch64/marvell_helpers.S   \
                                $(MARVELL_COMMON_BASE)/marvell_console.c