[U-Boot] [PATCH] sunxi: Select a bunch of CONFIG_foo options from ARCH_SUNXI

Tom Rini trini at konsulko.com
Tue Jun 30 22:46:04 CEST 2015


On Tue, Jun 30, 2015 at 10:33:17PM +0200, Hans de Goede wrote:

> Select a bunch of CONFIG_foo options from ARCH_SUNXI, instead of having
> them set to y  in every single sunxi defconfig.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Ug, sorry, I was waiting for some build results to come out before
posting my version of this.

To update the USB side:
$ for F in `git grep -l SYS_EXTRA.*USB_EHCI`;do sed -i -e 's/,USB_EHCI//'
-e 's/USB_EHCI,//' $F && echo CONFIG_USB_EHCI_HCD=y >> $F;done

And was there a reason you didn't include a 'select DM_SERIAL' in yours?

[snip]
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 0829235..6c4d138 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -645,10 +645,13 @@ config ARCH_SOCFPGA
>  config ARCH_SUNXI
>  	bool "Support sunxi (Allwinner) SoCs"
>  	select DM
> +	select DM_ETH
>  	select DM_GPIO
> +	select DM_USB if !USB_MUSB_SUNXI
>  	select OF_CONTROL
>  	select OF_SEPARATE
>  	select SPL_DISABLE_OF_CONTROL
> +	select USB

We really don't want to leave USB as a board choice?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150630/057dd9eb/attachment.sig>


More information about the U-Boot mailing list