Skip to contentSkip to conversation

rockchip: rk3399: Weaken dependency on SPL serial

PATCH In review Daniel Semkowicz 4 participants 4 messages Sep 20, 2024 – Sep 27, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: rk3399: Weaken dependency on SPL serial

Allow to disable serial console in SPL. Weak dependency is already used with TPL serial.

---

 arch/arm/mach-rockchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-rockchip/Kconfig +1 -1
index fc1b638ff01..269c219a6f8 100644
@@ -257,7 +257,6 @@ config ROCKCHIP_RK3399
 	select SPL_SYSCON if SPL
 	select TPL_NEEDS_SEPARATE_STACK if TPL
 	select SPL_SEPARATE_BSS
-	select SPL_SERIAL
 	select CLK
 	select FIT
 	select PINCTRL
@@ -288,6 +287,7 @@ config ROCKCHIP_RK3399
 	imply SPL_DM_SEQ_ALIAS
 	imply SPL_FIT_SIGNATURE
 	imply SPL_ROCKCHIP_COMMON_BOARD
+	imply SPL_SERIAL
 	imply SYS_BOOTCOUNT_SINGLEWORD if BOOTCOUNT_LIMIT
 	imply TPL_CLK
 	imply TPL_DM
Signature · 1 line
2.46.1
Reviewed-by on v1 1/1
#3 lore raw
In reply to Daniel Semkowicz
Quoted 4 lines · Daniel Semkowicz

Allow to disable serial console in SPL. Weak dependency is already used with TPL serial.

Thanks,
- Kever

Quoted 25 lines

---

  arch/arm/mach-rockchip/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-rockchip/Kconfig +1 -1
index fc1b638ff01..269c219a6f8 100644
@@ -257,7 +257,6 @@ config ROCKCHIP_RK3399
  	select SPL_SYSCON if SPL
  	select TPL_NEEDS_SEPARATE_STACK if TPL
  	select SPL_SEPARATE_BSS
-	select SPL_SERIAL
  	select CLK
  	select FIT
  	select PINCTRL
@@ -288,6 +287,7 @@ config ROCKCHIP_RK3399
  	imply SPL_DM_SEQ_ALIAS
  	imply SPL_FIT_SIGNATURE
  	imply SPL_ROCKCHIP_COMMON_BOARD
+	imply SPL_SERIAL
  	imply SYS_BOOTCOUNT_SINGLEWORD if BOOTCOUNT_LIMIT
  	imply TPL_CLK
  	imply TPL_DM