From ab36d0970945986accaecc0cfe74f27edc16d031 Mon Sep 17 00:00:00 2001 From: Tejas Patel Date: Fri, 14 Dec 2018 00:55:30 -0800 Subject: [PATCH] plat: xilinx: versal: Move versal_def.h to include directory Move versal_def.h to platform specific include directory. Also, update source file to include header file from updated path of versal_def.h Signed-off-by: Tejas Patel Signed-off-by: Jolly Shah Change-Id: I313592a17552843b9cc7048f31bcaaefa40ffd91 --- plat/xilinx/versal/aarch64/versal_common.c | 2 +- plat/xilinx/versal/include/platform_def.h | 5 ++--- plat/xilinx/versal/{ => include}/versal_def.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) rename plat/xilinx/versal/{ => include}/versal_def.h (97%) diff --git a/plat/xilinx/versal/aarch64/versal_common.c b/plat/xilinx/versal/aarch64/versal_common.c index 598079cba..0d7eefb43 100644 --- a/plat/xilinx/versal/aarch64/versal_common.c +++ b/plat/xilinx/versal/aarch64/versal_common.c @@ -4,13 +4,13 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include #include #include #include #include #include #include -#include "../versal_def.h" /* * Table of regions to map using the MMU. diff --git a/plat/xilinx/versal/include/platform_def.h b/plat/xilinx/versal/include/platform_def.h index 0c4b9544f..e61929cc1 100644 --- a/plat/xilinx/versal/include/platform_def.h +++ b/plat/xilinx/versal/include/platform_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -8,8 +8,7 @@ #define PLATFORM_DEF_H #include - -#include "../versal_def.h" +#include "versal_def.h" /******************************************************************************* * Generic platform constants diff --git a/plat/xilinx/versal/versal_def.h b/plat/xilinx/versal/include/versal_def.h similarity index 97% rename from plat/xilinx/versal/versal_def.h rename to plat/xilinx/versal/include/versal_def.h index 41c65b94d..d4e388597 100644 --- a/plat/xilinx/versal/versal_def.h +++ b/plat/xilinx/versal/include/versal_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -- GitLab