x86: edison: Switch to DM_USB_GADGET
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 Dec 2020 17:45:02 +0000 (19:45 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 16 Dec 2020 05:51:24 +0000 (13:51 +0800)
commitf89e8acbc81ee6d9e57f0156c3ee6de44528c8b7
treea75f202de4cf30c2ee83904856d689d8865383cb
parent23cdbba8b199f2f35c28e40dbb59a5e935dbbae9
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>
arch/x86/cpu/tangier/Kconfig
arch/x86/dts/edison.dts
board/intel/edison/edison.c
configs/edison_defconfig