public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 12/12] sunxi: MUSB gadget config provisions, with fastboot and USB mass storage support
Date: Wed, 22 Jul 2015 11:34:59 +0200	[thread overview]
Message-ID: <55AF63C3.2010707@redhat.com> (raw)
In-Reply-To: <1437554735-11728-12-git-send-email-contact@paulk.fr>

Hi,

On 22-07-15 10:45, Paul Kocialkowski wrote:
> This adds some config options to the sunxi-common config to enable the USB
> download gadget and the fastboot and USB mass storage functions.
>
> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans



> ---
>   include/configs/sunxi-common.h | 30 ++++++++++++++++++++++++++++++
>   1 file changed, 30 insertions(+)
>
> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
> index 3d57129..b2eb306 100644
> --- a/include/configs/sunxi-common.h
> +++ b/include/configs/sunxi-common.h
> @@ -329,6 +329,36 @@ extern int soft_i2c_gpio_scl;
>   #define CONFIG_USB_MUSB_PIO_ONLY
>   #endif
>
> +#ifdef CONFIG_USB_MUSB_GADGET
> +#define CONFIG_USB_GADGET
> +#define CONFIG_USB_GADGET_DUALSPEED
> +#define CONFIG_USB_GADGET_VBUS_DRAW	0
> +
> +#define CONFIG_USB_GADGET_DOWNLOAD
> +#define CONFIG_USB_FUNCTION_FASTBOOT
> +#define CONFIG_USB_FUNCTION_MASS_STORAGE
> +#endif
> +
> +#ifdef CONFIG_USB_GADGET_DOWNLOAD
> +#define CONFIG_G_DNL_VENDOR_NUM		0x1f3a
> +#define CONFIG_G_DNL_PRODUCT_NUM	0x1010
> +#define CONFIG_G_DNL_MANUFACTURER	"Allwinner Technology"
> +#endif
> +
> +#ifdef CONFIG_USB_FUNCTION_FASTBOOT
> +#define CONFIG_CMD_FASTBOOT
> +#define CONFIG_FASTBOOT_BUF_ADDR	CONFIG_SYS_LOAD_ADDR
> +#define CONFIG_FASTBOOT_BUF_SIZE	0x2000000
> +
> +#define CONFIG_FASTBOOT_FLASH
> +#define CONFIG_FASTBOOT_FLASH_MMC_DEV	0
> +#define CONFIG_EFI_PARTITION
> +#endif
> +
> +#ifdef CONFIG_USB_FUNCTION_MASS_STORAGE
> +#define CONFIG_CMD_USB_MASS_STORAGE
> +#endif
> +
>   #if defined CONFIG_USB_EHCI_HCD || defined CONFIG_USB_MUSB_HOST
>   #define CONFIG_CMD_USB
>   #endif
>

  reply	other threads:[~2015-07-22  9:34 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22  8:45 [U-Boot] [PATCH 01/12] usb: USB_ARCH_HAS_HCD Kconfig option removal Paul Kocialkowski
2015-07-22  8:45 ` [U-Boot] [PATCH 02/12] usb: Generic USB Kconfig option, that fits both host and gadget Paul Kocialkowski
2015-07-22 14:03   ` Marek Vasut
2015-07-22  8:45 ` [U-Boot] [PATCH 03/12] usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB Paul Kocialkowski
2015-07-22 14:02   ` Marek Vasut
2015-07-22  8:45 ` [U-Boot] [PATCH 04/12] usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET Paul Kocialkowski
2015-07-22 14:01   ` Marek Vasut
2015-07-22  8:45 ` [U-Boot] [PATCH 05/12] usb: USB comments in Kconfig for better separation Paul Kocialkowski
2015-07-22 14:01   ` Marek Vasut
2015-07-22  8:45 ` [U-Boot] [PATCH 06/12] usb: USB_MUSB_SUNXI move to musb-new Kconfig Paul Kocialkowski
2015-07-22  9:17   ` Hans de Goede
2015-07-24 17:14     ` Paul Kocialkowski
2015-07-22  8:45 ` [U-Boot] [PATCH 07/12] usb: USB_KEYBOARD move to usb Kconfig Paul Kocialkowski
2015-07-22  9:22   ` Hans de Goede
2015-07-24 17:18     ` Paul Kocialkowski
2015-07-22  8:45 ` [U-Boot] [PATCH 08/12] sunxi: USB EHCI Kconfig option instead of config define Paul Kocialkowski
2015-07-22  9:31   ` Hans de Goede
2015-07-24 17:19     ` Paul Kocialkowski
2015-07-27 12:31     ` Paul Kocialkowski
2015-07-27 12:56       ` Hans de Goede
2015-07-22  8:45 ` [U-Boot] [PATCH 09/12] sunxi: Kconfig defaults for USB Paul Kocialkowski
2015-07-22  9:37   ` Hans de Goede
2015-07-24 17:21     ` Paul Kocialkowski
2015-07-22  8:45 ` [U-Boot] [PATCH 10/12] sunxi: config update to stick with Kconfig changes Paul Kocialkowski
2015-07-22  9:33   ` Hans de Goede
2015-07-22  8:45 ` [U-Boot] [PATCH 11/12] musb: sunxi: Force EP0 on re-enable Paul Kocialkowski
2015-07-22  9:34   ` Hans de Goede
2015-07-22  8:45 ` [U-Boot] [PATCH 12/12] sunxi: MUSB gadget config provisions, with fastboot and USB mass storage support Paul Kocialkowski
2015-07-22  9:34   ` Hans de Goede [this message]
2015-07-22 14:03 ` [U-Boot] [PATCH 01/12] usb: USB_ARCH_HAS_HCD Kconfig option removal Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55AF63C3.2010707@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox