Skip to contentSkip to conversation

board: spacemit: k1: rename configs/k1.h to configs/spacemit-k1.h

PATCH In review E Shattow 2 participants 2 messages Nov 30 RISC-V SpacemiT SoC Support

lore
Share & tools
lore

E Shattow

author
#0 lore raw

PATCH 1/1 board: spacemit: k1: rename configs/k1.h to configs/spacemit-k1.h

There are multiple vendors with a "k1" product so let's prefix this global include filename with the vendor name.

---
 board/spacemit/k1/Kconfig               | 2 +-
 board/spacemit/k1/spl.c                 | 2 +-
 include/configs/{k1.h => spacemit-k1.h} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename include/configs/{k1.h => spacemit-k1.h} (100%)
board/spacemit/k1/Kconfig +1 -1
index 1c615f89b641..cca78b3bba7e 100644
@@ -10,7 +10,7 @@ config SYS_CPU
 	default "k1"
 
 config SYS_CONFIG_NAME
-	default "k1"
+	default "spacemit-k1"
 
 config TEXT_BASE
 	default 0x00200000
board/spacemit/k1/spl.c +1 -1
index 50f9f399a0f6..48f9dbc6f7b0 100644
@@ -9,7 +9,7 @@
 #include <clk.h>
 #include <clk-uclass.h>
 #include <cpu_func.h>
-#include <configs/k1.h>
+#include <configs/spacemit-k1.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <i2c.h>
include/configs/spacemit-k1.h renamed from include/configs/k1.h +0 -0
similarity index 100%
rename from include/configs/k1.h
rename to include/configs/spacemit-k1.h

base-commit: 40bafcab3bea0511eb3925da2f0fdc1df9758e3d

Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · E Shattow

There are multiple vendors with a "k1" product so let's prefix this global include filename with the vendor name.

Quoted 42 lines
---
 board/spacemit/k1/Kconfig               | 2 +-
 board/spacemit/k1/spl.c                 | 2 +-
 include/configs/{k1.h => spacemit-k1.h} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename include/configs/{k1.h => spacemit-k1.h} (100%)
board/spacemit/k1/Kconfig +1 -1
index 1c615f89b641..cca78b3bba7e 100644
@@ -10,7 +10,7 @@ config SYS_CPU
 	default "k1"
 
 config SYS_CONFIG_NAME
-	default "k1"
+	default "spacemit-k1"
 
 config TEXT_BASE
 	default 0x00200000
board/spacemit/k1/spl.c +1 -1
index 50f9f399a0f6..48f9dbc6f7b0 100644
@@ -9,7 +9,7 @@
 #include <clk.h>
 #include <clk-uclass.h>
 #include <cpu_func.h>
-#include <configs/k1.h>
+#include <configs/spacemit-k1.h>
 #include <dm/device.h>
 #include <dm/uclass.h>
 #include <i2c.h>
include/configs/spacemit-k1.h renamed from include/configs/k1.h +0 -0
similarity index 100%
rename from include/configs/k1.h
rename to include/configs/spacemit-k1.h

base-commit: 40bafcab3bea0511eb3925da2f0fdc1df9758e3d

Signature · 1 line
2.53.0
Signature · 1 line
Yixun Lan (dlan)