From d50ece03d9e95ac2e35546ceff0f787199e4420e Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Mon, 20 Feb 2017 14:22:22 +0000 Subject: [PATCH] Simplify translation tables headers dependencies 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 --- bl31/aarch64/bl31_entrypoint.S | 4 ++-- bl32/sp_min/aarch32/entrypoint.S | 4 ++-- bl32/tsp/aarch64/tsp_entrypoint.S | 2 +- common/bl_common.c | 2 +- plat/common/aarch32/plat_common.c | 4 ++-- plat/common/aarch64/plat_common.c | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bl31/aarch64/bl31_entrypoint.S b/bl31/aarch64/bl31_entrypoint.S index d14a68d06..4a710bdf9 100644 --- a/bl31/aarch64/bl31_entrypoint.S +++ b/bl31/aarch64/bl31_entrypoint.S @@ -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 #include #include -#include +#include .globl bl31_entrypoint .globl bl31_warm_entrypoint diff --git a/bl32/sp_min/aarch32/entrypoint.S b/bl32/sp_min/aarch32/entrypoint.S index e2ab923d1..3163f5245 100644 --- a/bl32/sp_min/aarch32/entrypoint.S +++ b/bl32/sp_min/aarch32/entrypoint.S @@ -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 #include #include -#include +#include .globl sp_min_vector_table .globl sp_min_entrypoint diff --git a/bl32/tsp/aarch64/tsp_entrypoint.S b/bl32/tsp/aarch64/tsp_entrypoint.S index bdb882ab8..182f31487 100644 --- a/bl32/tsp/aarch64/tsp_entrypoint.S +++ b/bl32/tsp/aarch64/tsp_entrypoint.S @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include "../tsp_private.h" diff --git a/common/bl_common.c b/common/bl_common.c index 1d6653075..58d8e863f 100644 --- a/common/bl_common.c +++ b/common/bl_common.c @@ -39,7 +39,7 @@ #include #include #include -#include +#include uintptr_t page_align(uintptr_t value, unsigned dir) { diff --git a/plat/common/aarch32/plat_common.c b/plat/common/aarch32/plat_common.c index a5b9535c7..29bafa8ed 100644 --- a/plat/common/aarch32/plat_common.c +++ b/plat/common/aarch32/plat_common.c @@ -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 -#include +#include /* * The following platform setup functions are weakly defined. They diff --git a/plat/common/aarch64/plat_common.c b/plat/common/aarch64/plat_common.c index 432234153..0cf27caff 100644 --- a/plat/common/aarch64/plat_common.c +++ b/plat/common/aarch64/plat_common.c @@ -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 #include #include -#include +#include /* * The following platform setup functions are weakly defined. They