[U-Boot] [PATCH 1/4] config: rk3036: enable configs for USB HOST

Simon Glass sjg at chromium.org
Fri Nov 11 17:16:58 CET 2016


Hi Kever,

On 8 November 2016 at 03:13, Kever Yang <kever.yang at rock-chips.com> wrote:
> rk3036 using dwc2 usb controller, need enable relate configs for it.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
>  configs/kylin-rk3036_defconfig  | 3 +++
>  include/configs/rk3036_common.h | 7 +++++++
>  2 files changed, 10 insertions(+)

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

Are these added in the right order? Did you use 'make savedefconfig' afterwards?

>
> diff --git a/configs/kylin-rk3036_defconfig b/configs/kylin-rk3036_defconfig
> index 424cdab..5a8b85a 100644
> --- a/configs/kylin-rk3036_defconfig
> +++ b/configs/kylin-rk3036_defconfig
> @@ -36,3 +36,6 @@ CONFIG_RAM=y
>  CONFIG_SYSRESET=y
>  CONFIG_CMD_DHRYSTONE=y
>  CONFIG_ERRNO_STR=y
> +CONFIG_CMD_USB=y
> +CONFIG_USB=y
> +CONFIG_USB_STORAGE=y
> diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h
> index 4eef3f8..92be29e 100644
> --- a/include/configs/rk3036_common.h
> +++ b/include/configs/rk3036_common.h
> @@ -79,6 +79,13 @@
>  #define CONFIG_G_DNL_VENDOR_NUM                0x2207
>  #define CONFIG_G_DNL_PRODUCT_NUM       0x310a
>
> +/* usb host */
> +#ifdef CONFIG_CMD_USB
> +#define CONFIG_USB_DWC2
> +#define CONFIG_USB_HOST_ETHER
> +#define CONFIG_USB_ETHER_SMSC95XX
> +#define CONFIG_USB_ETHER_ASIX
> +#endif
>  #define ENV_MEM_LAYOUT_SETTINGS \
>         "scriptaddr=0x60000000\0" \
>         "pxefile_addr_r=0x60100000\0" \
> --
> 1.9.1
>

Regards,
Simon


More information about the U-Boot mailing list