public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bo Shen <voice.shen@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv3 4/4] at91sam9x5ek: add USB configuration
Date: Fri, 30 Nov 2012 17:38:15 +0800	[thread overview]
Message-ID: <50B87E87.8040406@atmel.com> (raw)
In-Reply-To: <50b879fd.0652b40a.733e.74b9@mx.google.com>

On 11/30/2012 17:18, richard.genoud at gmail.com wrote:
> From: Richard Genoud <richard.genoud@gmail.com>
>
> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>

Acked-by: Bo Shen <voice.shen@atmel.com

Best Regards,
Bo Shen

> ---
>   include/configs/at91sam9x5ek.h |   23 +++++++++++++++++++++++
>   1 files changed, 23 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
> index 5e5f9c1..915714f 100644
> --- a/include/configs/at91sam9x5ek.h
> +++ b/include/configs/at91sam9x5ek.h
> @@ -91,6 +91,13 @@
>   #define CONFIG_CMD_SF
>   #define CONFIG_CMD_MMC
>   #define CONFIG_CMD_FAT
> +#define CONFIG_CMD_USB
> +
> +/*
> + * define CONFIG_USB_EHCI to enable USB Hi-Speed (aka 2.0)
> + * NB: in this case, USB 1.1 devices won't be recognized.
> + */
> +
>
>   /* SDRAM */
>   #define CONFIG_NR_DRAM_BANKS		1
> @@ -158,6 +165,22 @@
>   #define CONFIG_NET_RETRY_COUNT		20
>   #define CONFIG_MACB_SEARCH_PHY
>
> +/* USB */
> +#ifdef CONFIG_CMD_USB
> +#ifdef CONFIG_USB_EHCI
> +#define CONFIG_USB_EHCI_ATMEL
> +#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS	2
> +#else
> +#define CONFIG_USB_OHCI_NEW
> +#define CONFIG_SYS_USB_OHCI_CPU_INIT
> +#define CONFIG_SYS_USB_OHCI_REGS_BASE		ATMEL_BASE_OHCI
> +#define CONFIG_SYS_USB_OHCI_SLOT_NAME		"at91sam9x5"
> +#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	3
> +#endif
> +#define CONFIG_USB_ATMEL
> +#define CONFIG_USB_STORAGE
> +#endif
> +
>   #define CONFIG_SYS_LOAD_ADDR		0x22000000	/* load address */
>
>   #define CONFIG_SYS_MEMTEST_START	CONFIG_SYS_SDRAM_BASE
>

  reply	other threads:[~2012-11-30  9:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1354267114-3307-1-git-send-email-yes>
2012-11-30  9:18 ` [U-Boot] [PATCHv3 1/4] usb documentation: fix typo richard.genoud at gmail.com
2012-12-01  4:44   ` Marek Vasut
2012-11-30  9:18 ` [U-Boot] [PATCHv3 2/4] at91sam9x5: enable USB support for 9x5ek board richard.genoud at gmail.com
2012-11-30  9:37   ` Bo Shen
2012-12-09 21:43   ` Andreas Bießmann
2012-11-30  9:18 ` [U-Boot] [PATCHv3 3/4] at91sam9x5ek: regroup FAT/DOS features richard.genoud at gmail.com
2012-11-30  9:37   ` Bo Shen
2012-12-09 21:43   ` Andreas Bießmann
2012-11-30  9:18 ` [U-Boot] [PATCHv3 4/4] at91sam9x5ek: add USB configuration richard.genoud at gmail.com
2012-11-30  9:38   ` Bo Shen [this message]
2012-12-09 21:44   ` Andreas Bießmann

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=50B87E87.8040406@atmel.com \
    --to=voice.shen@atmel.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