Skip to contentSkip to conversation

arm: Finish migration of HAS_FSL_XHCI_USB

PATCH In review Tom Rini 2 participants 2 messages Jul 21, 2021 – Aug 18, 2021 Arm (32-bit)

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 arm: Finish migration of HAS_FSL_XHCI_USB

This symbol was largely migrated, except for one case. Update it.

Cc Priyanka Jain <[email protected]>

---
Note that include/configs/lx2160a_common.h isn't under any MAINTAINERS entry but should be.

---
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 6 ++++--
 include/configs/lx2160a_common.h          | 1 -
 2 files changed, 4 insertions(+), 3 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +4 -2
index 9c58f69dbd0d..9cef363fbaab 100644
@@ -58,6 +58,7 @@ config ARCH_LS1043A
 	select ARM_ERRATA_855873 if !TFABOOT
 	select FSL_LAYERSCAPE
 	select FSL_LSCH2
+	select HAS_FSL_XHCI_USB if USB_HOST
 	select SYS_FSL_SRDS_1
 	select SYS_HAS_SERDES
 	select SYS_FSL_DDR
@@ -89,6 +90,7 @@ config ARCH_LS1046A
 	select ARMV8_SET_SMPEN
 	select FSL_LAYERSCAPE
 	select FSL_LSCH2
+	select HAS_FSL_XHCI_USB if USB_HOST
 	select SYS_FSL_SRDS_1
 	select SYS_HAS_SERDES
 	select SYS_FSL_DDR
@@ -245,6 +247,7 @@ config ARCH_LX2160A
 	bool
 	select ARMV8_SET_SMPEN
 	select FSL_LSCH3
+	select HAS_FSL_XHCI_USB if USB_HOST
 	select NXP_LSCH3_2
 	select SYS_HAS_SERDES
 	select SYS_FSL_SRDS_1
@@ -642,9 +645,8 @@ config SPL_LDSCRIPT
 
 config HAS_FSL_XHCI_USB
 	bool
-	default y if ARCH_LS1043A || ARCH_LS1046A
 	help
-	  For some SoC(such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
+	  For some SoC (such as LS1043A and LS1046A), USB and QE-HDLC multiplex use
 	  pins, select it when the pins are assigned to USB.
 
 config SYS_FSL_BOOTROM_BASE
include/configs/lx2160a_common.h +0 -1
index 1338ee3cda3b..8977ee9de23a 100644
@@ -143,7 +143,6 @@
 
 /* USB */
 #ifdef CONFIG_USB_HOST
-#define CONFIG_HAS_FSL_XHCI_USB
 #ifndef CONFIG_TARGET_LX2162AQDS
 #define CONFIG_USB_MAX_CONTROLLER_COUNT	2
 #endif
Signature · 1 line
2.17.1
Reviewed-by Priyanka Jain on v1 1/1
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Tom Rini
Sent: Thursday, July 22, 2021 4:23 AM
To: [email protected]
Cc: Priyanka Jain <[email protected]>
Subject: [PATCH 1/1] arm: Finish migration of HAS_FSL_XHCI_USB

Quoted 7 lines

This symbol was largely migrated, except for one case. Update it.

Cc Priyanka Jain <[email protected]>

---
Note that include/configs/lx2160a_common.h isn't under any MAINTAINERS entry but should be.

lx2160a_common.h is included in board/freescale/lx2160a/MAINTAINERS

Quoted 4 lines

---
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 6 ++++--
include/configs/lx2160a_common.h | 1 -

2 files changed, 4 insertions(+), 3 deletions(-)

<snip>

Regards
Priyanka