From d10f2b2505b14b0de1bcd8985cdff95bcb88f786 Mon Sep 17 00:00:00 2001 From: Tony Han Date: Wed, 20 Mar 2024 16:49:29 +0800 Subject: [PATCH] plat-sam: rename filename for sama5d2 functions to 'platform_sama5d2.c' Rename 'main.c' to 'platform_sama5d2.c' in 'core/arch/arm/plat-sam'. Update the makefile accordingly. Signed-off-by: Tony Han Acked-by: Jens Wiklander Acked-by: Etienne Carriere --- core/arch/arm/plat-sam/{main.c => platform_sama5d2.c} | 0 core/arch/arm/plat-sam/sub.mk | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename core/arch/arm/plat-sam/{main.c => platform_sama5d2.c} (100%) diff --git a/core/arch/arm/plat-sam/main.c b/core/arch/arm/plat-sam/platform_sama5d2.c similarity index 100% rename from core/arch/arm/plat-sam/main.c rename to core/arch/arm/plat-sam/platform_sama5d2.c diff --git a/core/arch/arm/plat-sam/sub.mk b/core/arch/arm/plat-sam/sub.mk index a067d685a5b..3c0a79d7d6e 100644 --- a/core/arch/arm/plat-sam/sub.mk +++ b/core/arch/arm/plat-sam/sub.mk @@ -1,5 +1,6 @@ global-incdirs-y += . -srcs-y += main.c freq.c sam_sfr.c +srcs-y += freq.c sam_sfr.c +srcs-$(CFG_SAMA5D2) += platform_sama5d2.c srcs-$(CFG_AT91_MATRIX) += matrix.c srcs-$(CFG_PL310) += sam_pl310.c srcs-$(CFG_SCMI_MSG_DRIVERS) += scmi_server.c