summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-05-17 16:25:40 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-05-18 15:25:12 +0100
commitb506f304f70f41c65ae304cf7b1daf45e075a11a (patch)
treeb4835136d2c3f11c2531d02804ab240decdac474
parent823cc7a9d28aa77a8329f7581bb91038935b4df8 (diff)
xlat: Fix missing header file dependency
xlat_tables_arch.h uses the platform macro `PLAT_VIRT_ADDR_SPACE_SIZE`. This macro is defined in xlat_tables_private.h only if the platform still uses the deprecated `ADDR_SPACE_SIZE`. Change-Id: I1c3b12ebd96bdfe9bf94b26d440c03bc0f8c0b24 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
-rw-r--r--lib/xlat_tables_v2/aarch32/xlat_tables_arch.h1
-rw-r--r--lib/xlat_tables_v2/aarch64/xlat_tables_arch.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/xlat_tables_v2/aarch32/xlat_tables_arch.h b/lib/xlat_tables_v2/aarch32/xlat_tables_arch.h
index 28a80aad..f75ab791 100644
--- a/lib/xlat_tables_v2/aarch32/xlat_tables_arch.h
+++ b/lib/xlat_tables_v2/aarch32/xlat_tables_arch.h
@@ -10,6 +10,7 @@
#include <arch.h>
#include <platform_def.h>
#include <xlat_tables_defs.h>
+#include "../xlat_tables_private.h"
/*
* In AArch32 state, the MMU only supports 4KB page granularity, which means
diff --git a/lib/xlat_tables_v2/aarch64/xlat_tables_arch.h b/lib/xlat_tables_v2/aarch64/xlat_tables_arch.h
index 5b3205dc..caccb736 100644
--- a/lib/xlat_tables_v2/aarch64/xlat_tables_arch.h
+++ b/lib/xlat_tables_v2/aarch64/xlat_tables_arch.h
@@ -10,6 +10,7 @@
#include <arch.h>
#include <platform_def.h>
#include <xlat_tables_defs.h>
+#include "../xlat_tables_private.h"
/*
* In AArch64 state, the MMU may support 4 KB, 16 KB and 64 KB page