From 57d5eaa5fb7d43684af2514aee14c7f2356fa5cb Mon Sep 17 00:00:00 2001 From: Atish Patra Date: Wed, 9 Jan 2019 00:47:14 -0800 Subject: [PATCH] platform: Rename fdt.c to tinyfdt.c Libfdt already have fdt.c and fdt.h. Rename both fdt.* present in openSBI to tinyfdt.* Signed-off-by: Atish Patra --- platform/common/include/plat/{fdt.h => tinyfdt.h} | 0 platform/common/irqchip/plic.c | 2 +- platform/common/objects.mk | 2 +- platform/common/{fdt.c => tinyfdt.c} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename platform/common/include/plat/{fdt.h => tinyfdt.h} (100%) rename platform/common/{fdt.c => tinyfdt.c} (100%) diff --git a/platform/common/include/plat/fdt.h b/platform/common/include/plat/tinyfdt.h similarity index 100% rename from platform/common/include/plat/fdt.h rename to platform/common/include/plat/tinyfdt.h diff --git a/platform/common/irqchip/plic.c b/platform/common/irqchip/plic.c index 61a6bd01..8a1e08ea 100644 --- a/platform/common/irqchip/plic.c +++ b/platform/common/irqchip/plic.c @@ -8,7 +8,7 @@ */ #include -#include +#include #include #define PLIC_PRIORITY_BASE 0x0 diff --git a/platform/common/objects.mk b/platform/common/objects.mk index 712e9508..b3e06fdf 100644 --- a/platform/common/objects.mk +++ b/platform/common/objects.mk @@ -7,4 +7,4 @@ # SPDX-License-Identifier: BSD-2-Clause # -platform-common-objs-y += fdt.o +platform-common-objs-y += tinyfdt.o diff --git a/platform/common/fdt.c b/platform/common/tinyfdt.c similarity index 100% rename from platform/common/fdt.c rename to platform/common/tinyfdt.c