From: Tom Rini Date: Tue, 30 Jun 2015 16:46:04 -0400 Subject: [U-Boot] [PATCH] sunxi: Select a bunch of CONFIG_foo options from ARCH_SUNXI In-Reply-To: <1435696397-1434-1-git-send-email-hdegoede@redhat.com> References: <1435696397-1434-1-git-send-email-hdegoede@redhat.com> Message-ID: <20150630204604.GG28577@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: