diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-12-03 20:45:02 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-12-16 08:51:24 +0300 |
commit | f89e8acbc81ee6d9e57f0156c3ee6de44528c8b7 (patch) | |
tree | a75f202de4cf30c2ee83904856d689d8865383cb /configs | |
parent | 23cdbba8b199f2f35c28e40dbb59a5e935dbbae9 (diff) | |
download | u-boot-f89e8acbc81ee6d9e57f0156c3ee6de44528c8b7.tar.xz |
x86: edison: Switch to DM_USB_GADGET
DM is the modern default approach for the drivers in U-Boot.
It also allows to configure code via Device Tree.
Move Intel Edison to use DM_USB_GADGET and drop hard coded values.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/edison_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/edison_defconfig b/configs/edison_defconfig index ab2811eca9..304a172a1b 100644 --- a/configs/edison_defconfig +++ b/configs/edison_defconfig @@ -37,6 +37,7 @@ CONFIG_DFU_TIMEOUT=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y CONFIG_SUPPORT_EMMC_BOOT=y +CONFIG_DM_USB_GADGET=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_MANUFACTURER="Intel" CONFIG_USB_GADGET_VENDOR_NUM=0x8087 |