From 42636360ac107c18ecfb5967f9ad1c635dfe7301 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Wed, 15 Aug 2018 14:43:29 +0100 Subject: [PATCH] rpi3: Remove dependencies on Arm platform code The Raspberry Pi 3 port doesn't actually depend on any Arm platform code, so the dependencies can be removed. Change-Id: Ic2f47f5001bebde3862815b1d880a169d82b3f65 Signed-off-by: Antonio Nino Diaz --- plat/rpi3/include/plat_macros.S | 11 ++++------- plat/rpi3/platform.mk | 2 -- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/plat/rpi3/include/plat_macros.S b/plat/rpi3/include/plat_macros.S index f5e057ed..c0c39679 100644 --- a/plat/rpi3/include/plat_macros.S +++ b/plat/rpi3/include/plat_macros.S @@ -1,13 +1,10 @@ /* - * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PLAT_MACROS_S__ -#define __PLAT_MACROS_S__ - -#include -#include +#ifndef PLAT_MACROS_S +#define PLAT_MACROS_S /* --------------------------------------------- * The below required platform porting macro @@ -20,4 +17,4 @@ .macro plat_crash_print_regs .endm -#endif /* __PLAT_MACROS_S__ */ +#endif /* PLAT_MACROS_S */ diff --git a/plat/rpi3/platform.mk b/plat/rpi3/platform.mk index 4276c84f..55201eff 100644 --- a/plat/rpi3/platform.mk +++ b/plat/rpi3/platform.mk @@ -5,8 +5,6 @@ # PLAT_INCLUDES := -Iinclude/common/tbbr \ - -Iinclude/plat/arm/common/ \ - -Iinclude/plat/arm/common/aarch64/ \ -Iplat/rpi3/include PLAT_BL_COMMON_SOURCES := drivers/console/aarch64/console.S \ -- 2.30.2