[U-Boot] [PATCH 2/3] sunxi: Enable USB host support for Sinlinx SinA33

Hans de Goede hdegoede at redhat.com
Sat Sep 17 14:44:09 CEST 2016


Hi,

On 14-09-16 04:26, Chen-Yu Tsai wrote:
> Sinlinx SinA33 has 1 USB host port. Enable EHCI_HCD support for it.
> Also enable USB mass storage support so we can access USB sticks.
>
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>
> ---
>  configs/Sinlinx_SinA33_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig
> index 77eb05bf251a..673f3210a1b5 100644
> --- a/configs/Sinlinx_SinA33_defconfig
> +++ b/configs/Sinlinx_SinA33_defconfig
> @@ -9,4 +9,6 @@ CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-sinlinx-sina33"
>  CONFIG_SPL=y
>  # CONFIG_CMD_IMLS is not set
>  # CONFIG_CMD_FLASH is not set
> +CONFIG_CMD_USB_MASS_STORAGE=y

If we want to enable CONFIG_CMD_USB_MASS_STORAGE on sunxi, we really
should do so on all boards (feel free to submit a patch for this).

e.g. add something like this to board/sunxi/Kconfig:

config CMD_USB_MASS_STORAGE
	default y

So that we can still disable it in case there are space constraints,
but normally we enable it on all sunxi boards offering a
consistent set of available comments.

So I've dropped this bit of the patch.

Otherwise this series LGTM:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

I've added this to my local queue and this will go out
with the pull-req I plan todo later today.

Regards,

Hans


>  # CONFIG_CMD_FPGA is not set
> +CONFIG_USB_EHCI_HCD=y
>


More information about the U-Boot mailing list