summaryrefslogtreecommitdiff
path: root/plat/socionext/uniphier/platform.mk
diff options
context:
space:
mode:
authorDouglas Raillard <douglas.raillard@arm.com>2017-09-25 17:48:20 +0100
committerDouglas Raillard <douglas.raillard@arm.com>2017-09-27 11:18:05 +0100
commit142a17fe41ed84c7190545f136ea86fd90a038a0 (patch)
tree62beb02ce2fabfe5f734548dbbdb2524ba76e90a /plat/socionext/uniphier/platform.mk
parent2152505276882d3e2c3648bbc76e6effc419a0cc (diff)
Uniphier: fix xlat tables lib inclusion
Uses the xlat tables library's Makefile instead of directly including the source files in the Uniphier platform port. Change-Id: I27294dd71bbf9bf3e82973c75324652b037e5bce Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Diffstat (limited to 'plat/socionext/uniphier/platform.mk')
-rw-r--r--plat/socionext/uniphier/platform.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/plat/socionext/uniphier/platform.mk b/plat/socionext/uniphier/platform.mk
index 72792f8a..e6f510e0 100644
--- a/plat/socionext/uniphier/platform.mk
+++ b/plat/socionext/uniphier/platform.mk
@@ -21,6 +21,9 @@ ifeq ($(NEED_BL32),yes)
$(eval $(call add_define,UNIPHIER_LOAD_BL32))
endif
+# Libraries
+include lib/xlat_tables_v2/xlat_tables.mk
+
PLAT_PATH := plat/socionext/uniphier
PLAT_INCLUDES := -I$(PLAT_PATH)/include
@@ -37,12 +40,11 @@ IO_SOURCES := drivers/io/io_block.c \
# common sources for BL1, BL2, BL31
PLAT_BL_COMMON_SOURCES += drivers/console/aarch64/console.S \
- lib/xlat_tables_v2/aarch64/xlat_tables_arch.c \
- lib/xlat_tables_v2/xlat_tables_internal.c \
$(PLAT_PATH)/uniphier_console.S \
$(PLAT_PATH)/uniphier_helpers.S \
$(PLAT_PATH)/uniphier_soc_info.c \
- $(PLAT_PATH)/uniphier_xlat_setup.c
+ $(PLAT_PATH)/uniphier_xlat_setup.c \
+ ${XLAT_TABLES_LIB_SRCS}
BL1_SOURCES += lib/cpus/aarch64/cortex_a53.S \
lib/cpus/aarch64/cortex_a72.S \