rpi3: Remove dependencies on Arm platform code
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 15 Aug 2018 13:43:29 +0000 (14:43 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 15 Aug 2018 13:43:29 +0000 (14:43 +0100)
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 <antonio.ninodiaz@arm.com>
plat/rpi3/include/plat_macros.S
plat/rpi3/platform.mk

index f5e057edece9790906420b503d41262bba38e6da..c0c396791dee51dd0ce71fa238bbb7f5d25a870f 100644 (file)
@@ -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 <arm_macros.S>
-#include <platform_def.h>
+#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 */
index 4276c84f8841057916af11df9e09d1801dbf585e..55201effcfe8bfc6f51cdca5d966bd27551450f3 100644 (file)
@@ -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       \