1. 08 8月, 2016 5 次提交
    • M
      usb: add (move) CONFIG_USB_HOST to Kconfig · 2b58e1b7
      Masahiro Yamada 提交于
      The meaning of CONFIG_USB in U-Boot is different from that in Linux.
      
      As you see in drivers/usb/Kconfig of Linux, CONFIG_USB enables the
      USB host controller support, while CONFIG_USB_SUPPORT is used to
      enable the whole of the USB sub-system.
      
      When I added CONFIG_USB into Kconfig by commit 6e7e9294 ("usb:
      add basic USB configs in Kconfig"), I planned to follow the Linux's
      convention, i.e. CONFIG_USB to enable/disable the USB host support.
      
      Then, commit 68f7c5db ("usb: Generic USB Kconfig option, that
      fits both host and gadget and comments") changed the logic of the
      CONFIG_USB to point to the whole of the USB sub-system.  As a result,
      currently we do not have an option for USB host.
      
      This commit adds CONFIG_USB_HOST, which will be useful to compile
      in the USB host support code.
      
      CONFIG_USB_HOST is not referenced at all, but strangely some boards
      define it in board headers.  I removed them because USB_HOST will be
      selected in Kconfig going forward.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      2b58e1b7
    • M
      usb: add CONFIG_USB_UHCI_HCD in Kconfig · 96d8284b
      Masahiro Yamada 提交于
      There is no UHCI driver entry in Kconfig for now, but we have some
      UHCI drivers, for example, LEON.  This is a placeholder in case we
      want to move them to Kconfig in the future.
      
      The help message was copied from Linux.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      96d8284b
    • M
      usb: add CONFIG_USB_OHCI_HCD in Kconfig · 93cb8247
      Masahiro Yamada 提交于
      Add this option as a common config for all OHCI controllers.  Its
      help message was copied from Linux.  Also, I moved it below EHCI
      to respect the order in Linux's Kconfig.
      
      Add CONFIG_USB_OHCI_HCD=y to axs103_defconfig, which is the only
      user of OHCI_GENERIC.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      93cb8247
    • S
      net: usb: r8152: Add DM support · 6688452a
      Stefan Roese 提交于
      Add support for driver model, so that CONFIG_DM_ETH can be defined and
      used with this driver.
      
      This patch also adds the read_rom_hwaddr() callback so that the ROM MAC
      address will be used to the DM part of this driver.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Ted Chen <tedchen@realtek.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      6688452a
    • P
      dm: ehci-mx6: support driver model · bb42fb4f
      Peng Fan 提交于
      Support driver model for ehci mx6 driver.
      Consolidate code to be shared between DM and non-DM, such as
      introducing ehci_mx6_common_init.
      For simplicity, some old fasion code are keeped for DM usage,
      such as board_ehci_power and board_usb_phy_mode. And 'dr-mode',
      usbphy and vbus handling code for DM is not added now.
      These will be added in future patches.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
      Cc: Stefan Agner <stefan@agner.ch>
      Cc: Simon Glass <sjg@chromium.org>
      bb42fb4f
  2. 06 8月, 2016 30 次提交
  3. 05 8月, 2016 5 次提交