]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
udoo_neo: Enable support for USB and storage
authorPeter Robinson <pbrobinson@gmail.com>
Tue, 21 Dec 2021 12:32:49 +0000 (12:32 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jan 2022 14:30:45 +0000 (09:30 -0500)
Enable support for USB and USB storage on the UDOO Neo.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
configs/udoo_neo_defconfig
include/configs/udoo_neo.h

index 2a3775710057eb16ac8f9bdbe833f9dcde637390..ca08de1bd44af70fc3ec3872c60042caed5b54ac 100644 (file)
@@ -27,6 +27,7 @@ CONFIG_SPL_FS_EXT4=y
 CONFIG_SPL_WATCHDOG=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_USB=y
 # CONFIG_CMD_PINMUX is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
@@ -53,5 +54,11 @@ CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_POWER_LEGACY=y
 CONFIG_POWER_I2C=y
+CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_ANATOP=y
+CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_STORAGE=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
index e2b432e1c4894bcb399c11c74705ca9683b84395..3a7cb050b1073691d76bef244d824e416a457273 100644 (file)
@@ -50,6 +50,7 @@
 
 #define BOOT_TARGET_DEVICES(func) \
        func(MMC, mmc, 1) \
+       func(USB, usb, 0) \
        func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>