diff mbox series

[8/8] ARM: CHIP: Enable DM_USB

Message ID 20210402214801.1159432-8-pbrobinson@gmail.com
State Under Review
Delegated to: Kever Yang
Headers show
Series [1/8] ARM: dragonboard410c: Enable DM_ETH | expand

Commit Message

Peter Robinson April 2, 2021, 9:48 p.m. UTC
The CHIP devices doesn't enable distro defaults due to primary
storage being NAND so it doesn't get DM_USB by default so enable
it and a few other useful USB bits.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 configs/CHIP_defconfig     | 2 ++
 configs/CHIP_pro_defconfig | 3 +++
 2 files changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig
index a70ee31d40..f423cfc143 100644
--- a/configs/CHIP_defconfig
+++ b/configs/CHIP_defconfig
@@ -8,12 +8,14 @@  CONFIG_VIDEO_COMPOSITE=y
 CONFIG_DEFAULT_DEVICE_TREE="sun5i-r8-chip"
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_DFU_RAM=y
 # CONFIG_MMC is not set
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
 CONFIG_CONS_INDEX=2
+CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y
diff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig
index 7f10fd2b88..08b091fde9 100644
--- a/configs/CHIP_pro_defconfig
+++ b/configs/CHIP_pro_defconfig
@@ -8,6 +8,8 @@  CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MTDPARTS=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_MTDIDS_DEFAULT="nand0=sunxi-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=sunxi-nand.0:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)"
 CONFIG_ENV_IS_IN_UBI=y
@@ -22,6 +24,7 @@  CONFIG_SYS_NAND_OOBSIZE=0x100
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
 CONFIG_CONS_INDEX=2
+CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y