[PATCH 3/6] cosmetic: aspeed: ast2500: Rename board file

Chia-Wei, Wang chiawei_wang at aspeedtech.com
Mon Aug 3 11:36:07 CEST 2020


Rename the ast2500-board.c to board_common.c and
place the renamed file under the ast2500 folder.

Signed-off-by: Chia-Wei, Wang <chiawei_wang at aspeedtech.com>
---
 arch/arm/mach-aspeed/Makefile                                   | 2 +-
 arch/arm/mach-aspeed/ast2500/Makefile                           | 1 +
 .../arm/mach-aspeed/{ast2500-board.c => ast2500/board_common.c} | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 rename arch/arm/mach-aspeed/{ast2500-board.c => ast2500/board_common.c} (100%)

diff --git a/arch/arm/mach-aspeed/Makefile b/arch/arm/mach-aspeed/Makefile
index 1557dcae66..33f65b50b2 100644
--- a/arch/arm/mach-aspeed/Makefile
+++ b/arch/arm/mach-aspeed/Makefile
@@ -3,4 +3,4 @@
 # Copyright (c) 2016 Google, Inc
 
 obj-$(CONFIG_ARCH_ASPEED) += ast_wdt.o
-obj-$(CONFIG_ASPEED_AST2500) += ast2500/ ast2500-board.o
+obj-$(CONFIG_ASPEED_AST2500) += ast2500/
diff --git a/arch/arm/mach-aspeed/ast2500/Makefile b/arch/arm/mach-aspeed/ast2500/Makefile
index 2e9e15d831..4c27c8fc46 100644
--- a/arch/arm/mach-aspeed/ast2500/Makefile
+++ b/arch/arm/mach-aspeed/ast2500/Makefile
@@ -1,2 +1,3 @@
 obj-y += lowlevel_init.o
+obj-y += board_common.o
 obj-y += clk_ast2500.o sdram_ast2500.o
diff --git a/arch/arm/mach-aspeed/ast2500-board.c b/arch/arm/mach-aspeed/ast2500/board_common.c
similarity index 100%
rename from arch/arm/mach-aspeed/ast2500-board.c
rename to arch/arm/mach-aspeed/ast2500/board_common.c
-- 
2.17.1



More information about the U-Boot mailing list