summaryrefslogtreecommitdiff
path: root/fwu
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2016-06-09 10:28:02 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2016-07-22 09:28:32 +0100
commit2488d0622b10544a643e4bc9107f109d62869c54 (patch)
treeffb2732528391b9abcd88ceca6362ddd208e0bc0 /fwu
parentc07ff11ae37209f240fd979af61aed05ed1bd736 (diff)
Refactor the xlat_tables library
This patch refactors the xlat_tables library to make it inline with the refactoring done in Trusted Firmware. The xlat_tables is now a separate library component in the `lib/` folder. It also includes all the enhancements done in Trusted Firmware to the xlat_tables library. Change-Id: I99f02c32ed44c659f989849507b091df0397442c
Diffstat (limited to 'fwu')
-rw-r--r--fwu/ns_bl1u/ns_bl1u.mk6
-rw-r--r--fwu/ns_bl1u/ns_bl1u_main.c3
-rw-r--r--fwu/ns_bl2u/ns_bl2u.mk6
3 files changed, 8 insertions, 7 deletions
diff --git a/fwu/ns_bl1u/ns_bl1u.mk b/fwu/ns_bl1u/ns_bl1u.mk
index 8c2af2b..e2b0876 100644
--- a/fwu/ns_bl1u/ns_bl1u.mk
+++ b/fwu/ns_bl1u/ns_bl1u.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -37,14 +37,14 @@ NS_BL1U_SOURCES := drivers/io/io_fip.c \
fwu/ns_bl1u/ns_bl1u_main.c \
lib/aarch64/cache_helpers.S \
lib/aarch64/misc_helpers.S \
- lib/aarch64/xlat_helpers.c \
- lib/aarch64/xlat_tables.c \
lib/locks/spinlock.S \
lib/smc/asm_smc.S \
lib/smc/smc.c \
${STD_LIB_SOURCES} \
lib/utils/mp_printf.c \
lib/utils/uuid.c \
+ lib/xlat_tables/aarch64/xlat_tables.c \
+ lib/xlat_tables/xlat_tables_common.c \
plat/common/aarch64/plat_common.c \
plat/common/aarch64/platform_helpers.S \
plat/common/aarch64/platform_up_stack.S \
diff --git a/fwu/ns_bl1u/ns_bl1u_main.c b/fwu/ns_bl1u/ns_bl1u_main.c
index 488faf6..47f218c 100644
--- a/fwu/ns_bl1u/ns_bl1u_main.c
+++ b/fwu/ns_bl1u/ns_bl1u_main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -28,6 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <arch_helpers.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
diff --git a/fwu/ns_bl2u/ns_bl2u.mk b/fwu/ns_bl2u/ns_bl2u.mk
index 3407e4b..13be51c 100644
--- a/fwu/ns_bl2u/ns_bl2u.mk
+++ b/fwu/ns_bl2u/ns_bl2u.mk
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -35,14 +35,14 @@ NS_BL2U_SOURCES := framework/aarch64/arch.c \
fwu/ns_bl2u/ns_bl2u_main.c \
lib/aarch64/cache_helpers.S \
lib/aarch64/misc_helpers.S \
- lib/aarch64/xlat_helpers.c \
- lib/aarch64/xlat_tables.c \
lib/locks/spinlock.S \
lib/smc/asm_smc.S \
lib/smc/smc.c \
${STD_LIB_SOURCES} \
lib/utils/mp_printf.c \
lib/utils/uuid.c \
+ lib/xlat_tables/aarch64/xlat_tables.c \
+ lib/xlat_tables/xlat_tables_common.c \
plat/common/aarch64/plat_common.c \
plat/common/aarch64/platform_helpers.S \
plat/common/aarch64/platform_up_stack.S \