[PATCH 17/18] configs: at91: sama5d2: Enable OHCI/EHCI related configs
Sergiu Moga
sergiu.moga at microchip.com
Wed Dec 7 14:14:46 CET 2022
Enable the OHCI and EHCI related configs required in order to be
able to use the USB command properly.
Signed-off-by: Sergiu Moga <sergiu.moga at microchip.com>
---
configs/sama5d27_som1_ek_mmc1_defconfig | 5 +++++
configs/sama5d27_som1_ek_mmc_defconfig | 5 +++++
configs/sama5d27_som1_ek_qspiflash_defconfig | 5 +++++
configs/sama5d27_wlsom1_ek_mmc_defconfig | 6 ++++++
configs/sama5d27_wlsom1_ek_qspiflash_defconfig | 5 +++++
configs/sama5d2_icp_mmc_defconfig | 9 +++++++++
configs/sama5d2_icp_qspiflash_defconfig | 9 +++++++++
configs/sama5d2_ptc_ek_mmc_defconfig | 5 +++++
configs/sama5d2_ptc_ek_nandflash_defconfig | 5 +++++
configs/sama5d2_xplained_emmc_defconfig | 5 +++++
configs/sama5d2_xplained_mmc_defconfig | 5 +++++
configs/sama5d2_xplained_qspiflash_defconfig | 5 +++++
configs/sama5d2_xplained_spiflash_defconfig | 5 +++++
13 files changed, 74 insertions(+)
diff --git a/configs/sama5d27_som1_ek_mmc1_defconfig b/configs/sama5d27_som1_ek_mmc1_defconfig
index 93ae714b62..935afd633f 100644
--- a/configs/sama5d27_som1_ek_mmc1_defconfig
+++ b/configs/sama5d27_som1_ek_mmc1_defconfig
@@ -108,6 +108,11 @@ CONFIG_ATMEL_PIT_TIMER=y
CONFIG_SPL_ATMEL_PIT_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_USB_ATMEL=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d27_som1_ek"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_STORAGE=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
diff --git a/configs/sama5d27_som1_ek_mmc_defconfig b/configs/sama5d27_som1_ek_mmc_defconfig
index 5096366de7..c52ce7e8a3 100644
--- a/configs/sama5d27_som1_ek_mmc_defconfig
+++ b/configs/sama5d27_som1_ek_mmc_defconfig
@@ -109,6 +109,11 @@ CONFIG_SPL_ATMEL_PIT_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_USB_ATMEL=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d27_som1_ek"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
diff --git a/configs/sama5d27_som1_ek_qspiflash_defconfig b/configs/sama5d27_som1_ek_qspiflash_defconfig
index d7c7f42c93..9385e7bd96 100644
--- a/configs/sama5d27_som1_ek_qspiflash_defconfig
+++ b/configs/sama5d27_som1_ek_qspiflash_defconfig
@@ -108,6 +108,11 @@ CONFIG_SPL_ATMEL_PIT_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d27_som1_ek"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
diff --git a/configs/sama5d27_wlsom1_ek_mmc_defconfig b/configs/sama5d27_wlsom1_ek_mmc_defconfig
index 7634a6c68f..c0d5d2d165 100644
--- a/configs/sama5d27_wlsom1_ek_mmc_defconfig
+++ b/configs/sama5d27_wlsom1_ek_mmc_defconfig
@@ -114,6 +114,12 @@ CONFIG_SPL_ATMEL_PIT_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_CMD_USB=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d27_wlsom1_ek"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
diff --git a/configs/sama5d27_wlsom1_ek_qspiflash_defconfig b/configs/sama5d27_wlsom1_ek_qspiflash_defconfig
index bb018d4c69..d581b0e389 100644
--- a/configs/sama5d27_wlsom1_ek_qspiflash_defconfig
+++ b/configs/sama5d27_wlsom1_ek_qspiflash_defconfig
@@ -118,6 +118,11 @@ CONFIG_SPL_ATMEL_PIT_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d27_wlsom1_ek"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig
index 51f7104b35..cf72910e0c 100644
--- a/configs/sama5d2_icp_mmc_defconfig
+++ b/configs/sama5d2_icp_mmc_defconfig
@@ -111,4 +111,13 @@ CONFIG_SPL_TIMER=y
CONFIG_ATMEL_TCB_TIMER=y
CONFIG_SPL_ATMEL_TCB_TIMER=y
CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_CMD_USB=y
+CONFIG_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_icp"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=4
+CONFIG_USB_ATMEL=y
# CONFIG_EFI_LOADER_HII is not set
diff --git a/configs/sama5d2_icp_qspiflash_defconfig b/configs/sama5d2_icp_qspiflash_defconfig
index ab7308848f..e8181b1a0c 100644
--- a/configs/sama5d2_icp_qspiflash_defconfig
+++ b/configs/sama5d2_icp_qspiflash_defconfig
@@ -96,6 +96,15 @@ CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_CMD_USB=y
+CONFIG_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_icp"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=4
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_OF_LIBFDT_OVERLAY=y
diff --git a/configs/sama5d2_ptc_ek_mmc_defconfig b/configs/sama5d2_ptc_ek_mmc_defconfig
index 8ae20d5a76..5464a7cbd6 100644
--- a/configs/sama5d2_ptc_ek_mmc_defconfig
+++ b/configs/sama5d2_ptc_ek_mmc_defconfig
@@ -78,6 +78,11 @@ CONFIG_ATMEL_TCB_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_ptc"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_W1=y
CONFIG_W1_GPIO=y
CONFIG_W1_EEPROM=y
diff --git a/configs/sama5d2_ptc_ek_nandflash_defconfig b/configs/sama5d2_ptc_ek_nandflash_defconfig
index f987278101..36d45521be 100644
--- a/configs/sama5d2_ptc_ek_nandflash_defconfig
+++ b/configs/sama5d2_ptc_ek_nandflash_defconfig
@@ -78,6 +78,11 @@ CONFIG_ATMEL_TCB_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_ptc"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_W1=y
CONFIG_W1_GPIO=y
CONFIG_W1_EEPROM=y
diff --git a/configs/sama5d2_xplained_emmc_defconfig b/configs/sama5d2_xplained_emmc_defconfig
index 9509091c4e..94a554b4a0 100644
--- a/configs/sama5d2_xplained_emmc_defconfig
+++ b/configs/sama5d2_xplained_emmc_defconfig
@@ -108,6 +108,11 @@ CONFIG_SPL_ATMEL_TCB_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_xplained"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
diff --git a/configs/sama5d2_xplained_mmc_defconfig b/configs/sama5d2_xplained_mmc_defconfig
index fe267f33e2..3889efdc5e 100644
--- a/configs/sama5d2_xplained_mmc_defconfig
+++ b/configs/sama5d2_xplained_mmc_defconfig
@@ -110,6 +110,11 @@ CONFIG_SPL_ATMEL_TCB_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_xplained"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
diff --git a/configs/sama5d2_xplained_qspiflash_defconfig b/configs/sama5d2_xplained_qspiflash_defconfig
index 7fc5dad631..32741f2265 100644
--- a/configs/sama5d2_xplained_qspiflash_defconfig
+++ b/configs/sama5d2_xplained_qspiflash_defconfig
@@ -110,6 +110,11 @@ CONFIG_SPL_ATMEL_TCB_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_xplained"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
diff --git a/configs/sama5d2_xplained_spiflash_defconfig b/configs/sama5d2_xplained_spiflash_defconfig
index 95e2b449f9..7b2e4c06a9 100644
--- a/configs/sama5d2_xplained_spiflash_defconfig
+++ b/configs/sama5d2_xplained_spiflash_defconfig
@@ -114,6 +114,11 @@ CONFIG_SPL_ATMEL_TCB_TIMER=y
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_DM_USB=y
+CONFIG_SYS_USB_OHCI_SLOT_NAME="sama5d2_xplained"
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
+CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_ATMEL_USBA=y
CONFIG_VIDEO=y
--
2.34.1
More information about the U-Boot
mailing list