Simplify translation tables headers dependencies
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Mon, 20 Feb 2017 14:22:22 +0000 (14:22 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 8 Mar 2017 14:40:27 +0000 (14:40 +0000)
The files affected by this patch don't really depend on `xlat_tables.h`.
By changing the included file it becomes easier to switch between the
two versions of the translation tables library.

Change-Id: Idae9171c490e0865cb55883b19eaf942457c4ccc
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
bl31/aarch64/bl31_entrypoint.S
bl32/sp_min/aarch32/entrypoint.S
bl32/tsp/aarch64/tsp_entrypoint.S
common/bl_common.c
plat/common/aarch32/plat_common.c
plat/common/aarch64/plat_common.c

index d14a68d06d1361ee9b71579d8baacd7e97253803..4a710bdf90cd2a018d996fac0badcc7a779aa448 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2017, 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:
@@ -33,7 +33,7 @@
 #include <el3_common_macros.S>
 #include <pmf_asm_macros.S>
 #include <runtime_instr.h>
-#include <xlat_tables.h>
+#include <xlat_tables_defs.h>
 
        .globl  bl31_entrypoint
        .globl  bl31_warm_entrypoint
index e2ab923d13dff79c11d14c8e64cb6e01d5b6d253..3163f5245bd1bfc61160482d6c71008d297c76c0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2017, 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:
@@ -36,7 +36,7 @@
 #include <runtime_svc.h>
 #include <smcc_helpers.h>
 #include <smcc_macros.S>
-#include <xlat_tables.h>
+#include <xlat_tables_defs.h>
 
        .globl  sp_min_vector_table
        .globl  sp_min_entrypoint
index bdb882ab88d4ab6aa45ac9e8ef8a749c7963aa2f..182f31487404542c33cfc479bcd34d7913a9e4bf 100644 (file)
@@ -31,7 +31,7 @@
 #include <arch.h>
 #include <asm_macros.S>
 #include <tsp.h>
-#include <xlat_tables.h>
+#include <xlat_tables_defs.h>
 #include "../tsp_private.h"
 
 
index 1d6653075fc9d3afc61b9d13c0d972a8c6f765d7..58d8e863f0f175e17262ab400e8eaa7270f9575d 100644 (file)
@@ -39,7 +39,7 @@
 #include <platform.h>
 #include <string.h>
 #include <utils.h>
-#include <xlat_tables.h>
+#include <xlat_tables_defs.h>
 
 uintptr_t page_align(uintptr_t value, unsigned dir)
 {
index a5b9535c7ac4bb8a78963560661f066caf5be0a7..29bafa8edeaa306a1b2da3cc0c021b4a8d68247b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2017, 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:
@@ -29,7 +29,7 @@
  */
 
 #include <platform.h>
-#include <xlat_tables.h>
+#include <xlat_mmu_helpers.h>
 
 /*
  * The following platform setup functions are weakly defined. They
index 432234153ccee3eea3840aadf32eee15c9e36539..0cf27caffbd54bd67ac08c801c1da9fb8c0f5f95 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2017, 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:
@@ -30,7 +30,7 @@
 #include <assert.h>
 #include <console.h>
 #include <platform.h>
-#include <xlat_tables.h>
+#include <xlat_mmu_helpers.h>
 
 /*
  * The following platform setup functions are weakly defined. They