diff options
author | Andy Shevchenko | 2020-12-03 19:45:02 +0200 |
---|---|---|
committer | Bin Meng | 2020-12-16 13:51:24 +0800 |
commit | f89e8acbc81ee6d9e57f0156c3ee6de44528c8b7 (patch) | |
tree | a75f202de4cf30c2ee83904856d689d8865383cb /configs | |
parent | 23cdbba8b199f2f35c28e40dbb59a5e935dbbae9 (diff) |
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 ab2811eca9d..304a172a1b9 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 |