summaryrefslogtreecommitdiff
path: root/configs/kontron_sl28_defconfig
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-10-15 16:15:25 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2021-11-09 14:48:23 +0300
commit12d2b42a054f419184386012b14845e2c05f2c86 (patch)
treea953c805729de7e80dece9a41ea3d60ac57a8eda /configs/kontron_sl28_defconfig
parentf6cc9da16678659accb904fe3cbf27b6e97c1489 (diff)
downloadu-boot-12d2b42a054f419184386012b14845e2c05f2c86.tar.xz
board: sl28: enable USB periheral support and gadgets
Enable support to update the board via the DFU protocol and make it possible to export the block devices via USB mass storage protocol. This will not work out of the box, yet. You have to change the dr_mode of the usb0 controller to peripheral manually to make it work. True, OTG support will hopefully coming soon. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'configs/kontron_sl28_defconfig')
-rw-r--r--configs/kontron_sl28_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
index 1b4c1b4d6b..31a1083b0a 100644
--- a/configs/kontron_sl28_defconfig
+++ b/configs/kontron_sl28_defconfig
@@ -39,12 +39,14 @@ CONFIG_SYS_SPI_U_BOOT_OFFS=0x230000
CONFIG_CMD_ASKENV=y
CONFIG_CMD_GREPENV=y
CONFIG_CMD_NVEDIT_EFI=y
+CONFIG_CMD_DFU=y
CONFIG_CMD_DM=y
CONFIG_CMD_GPT=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
CONFIG_CMD_PCI=y
CONFIG_CMD_USB=y
+CONFIG_CMD_USB_MASS_STORAGE=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_EFIDEBUG=y
CONFIG_CMD_RNG=y
@@ -92,10 +94,13 @@ CONFIG_FSL_DSPI=y
CONFIG_NXP_FSPI=y
CONFIG_USB=y
# CONFIG_SPL_DM_USB is not set
+CONFIG_DM_USB_GADGET=y
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_FSL is not set
CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_LAYERSCAPE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_OF_LIBFDT_ASSUME_MASK=0x0
CONFIG_OF_LIBFDT_OVERLAY=y
CONFIG_EFI_SET_TIME=y