[PATCH v2 2/2] x86: edison: Switch to DM_USB_GADGET

Simon Glass sjg at chromium.org
Sat Dec 12 16:39:25 CET 2020


On Thu, 3 Dec 2020 at 10:45, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> 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 at linux.intel.com>
> ---
> v2: cleaned up arch/x86/cpu/tangier/Kconfig as well
>
>  arch/x86/cpu/tangier/Kconfig |  4 ----
>  arch/x86/dts/edison.dts      |  8 ++++++++
>  board/intel/edison/edison.c  | 35 -----------------------------------
>  configs/edison_defconfig     |  1 +
>  4 files changed, 9 insertions(+), 39 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list