U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] board: spacemit: k1: rename configs/k1.h to configs/spacemit-k1.h
@ 2026-11-30  9:39 E Shattow
  2026-11-30 11:21 ` Yixun Lan
  0 siblings, 1 reply; 2+ messages in thread
From: E Shattow @ 2026-11-30  9:39 UTC (permalink / raw)
  To: Eric Chung, Hung-Chun Tseng, Yixun Lan, Tom Rini
  Cc: E Shattow, u-boot-spacemit, u-boot

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

Signed-off-by: E Shattow <e@freeshell.de>
---
 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%)

diff --git a/board/spacemit/k1/Kconfig b/board/spacemit/k1/Kconfig
index 1c615f89b641..cca78b3bba7e 100644
--- a/board/spacemit/k1/Kconfig
+++ b/board/spacemit/k1/Kconfig
@@ -10,7 +10,7 @@ config SYS_CPU
 	default "k1"
 
 config SYS_CONFIG_NAME
-	default "k1"
+	default "spacemit-k1"
 
 config TEXT_BASE
 	default 0x00200000
diff --git a/board/spacemit/k1/spl.c b/board/spacemit/k1/spl.c
index 50f9f399a0f6..48f9dbc6f7b0 100644
--- a/board/spacemit/k1/spl.c
+++ b/board/spacemit/k1/spl.c
@@ -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>
diff --git a/include/configs/k1.h b/include/configs/spacemit-k1.h
similarity index 100%
rename from include/configs/k1.h
rename to include/configs/spacemit-k1.h

base-commit: 40bafcab3bea0511eb3925da2f0fdc1df9758e3d
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] board: spacemit: k1: rename configs/k1.h to configs/spacemit-k1.h
  2026-11-30  9:39 [PATCH] board: spacemit: k1: rename configs/k1.h to configs/spacemit-k1.h E Shattow
@ 2026-11-30 11:21 ` Yixun Lan
  0 siblings, 0 replies; 2+ messages in thread
From: Yixun Lan @ 2026-11-30 11:21 UTC (permalink / raw)
  To: E Shattow; +Cc: Eric Chung, Hung-Chun Tseng, Tom Rini, u-boot-spacemit, u-boot


On 01:39 Mon 30 Nov     , E Shattow wrote:
> There are multiple vendors with a "k1" product so let's prefix this
> global include filename with the vendor name.
> 
> Signed-off-by: E Shattow <e@freeshell.de>

Reviewed-by: Yixun Lan <dlan@kernel.org>

> ---
>  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%)
> 
> diff --git a/board/spacemit/k1/Kconfig b/board/spacemit/k1/Kconfig
> index 1c615f89b641..cca78b3bba7e 100644
> --- a/board/spacemit/k1/Kconfig
> +++ b/board/spacemit/k1/Kconfig
> @@ -10,7 +10,7 @@ config SYS_CPU
>  	default "k1"
>  
>  config SYS_CONFIG_NAME
> -	default "k1"
> +	default "spacemit-k1"
>  
>  config TEXT_BASE
>  	default 0x00200000
> diff --git a/board/spacemit/k1/spl.c b/board/spacemit/k1/spl.c
> index 50f9f399a0f6..48f9dbc6f7b0 100644
> --- a/board/spacemit/k1/spl.c
> +++ b/board/spacemit/k1/spl.c
> @@ -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>
> diff --git a/include/configs/k1.h b/include/configs/spacemit-k1.h
> similarity index 100%
> rename from include/configs/k1.h
> rename to include/configs/spacemit-k1.h
> 
> base-commit: 40bafcab3bea0511eb3925da2f0fdc1df9758e3d
> -- 
> 2.53.0
> 

-- 
Yixun Lan (dlan)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-30 11:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  9:39 [PATCH] board: spacemit: k1: rename configs/k1.h to configs/spacemit-k1.h E Shattow
2026-11-30 11:21 ` Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox