diff mbox series

[1/5] vinco: Enable DM_USB and DM_SPI_FLASH support

Message ID 20210712164214.19847-1-trini@konsulko.com
State Accepted
Commit 011e86a8bf8c8dbcb747906969075d500a1fed54
Delegated to: Tom Rini
Headers show
Series [1/5] vinco: Enable DM_USB and DM_SPI_FLASH support | expand

Commit Message

Tom Rini July 12, 2021, 4:42 p.m. UTC
As this platform already enables CONFIG_DM and CONFIG_OF_CONTROL,
migrating to DM_USB and DM_SPI_FLASH is just a matter of enabling the
correct options.

Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
u-boot@lists.denx.de (open list)
Reported-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Aside, the MAINTAINERS entry still has free-electrons, can you please
update it?  Also, I suspect DM_ETH migration would also just be a matter
of enabling the correct options. Thanks!
---
 configs/vinco_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini July 19, 2021, 12:26 p.m. UTC | #1
On Mon, Jul 12, 2021 at 12:42:10PM -0400, Tom Rini wrote:

> As this platform already enables CONFIG_DM and CONFIG_OF_CONTROL,
> migrating to DM_USB and DM_SPI_FLASH is just a matter of enabling the
> correct options.
> 
> Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
> u-boot@lists.denx.de (open list)
> Reported-by: Marek Behun <marek.behun@nic.cz>
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/vinco_defconfig b/configs/vinco_defconfig
index be7aaa96d7d9..434d90ccd21f 100644
--- a/configs/vinco_defconfig
+++ b/configs/vinco_defconfig
@@ -33,13 +33,14 @@  CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_AT91_GPIO=y
 CONFIG_SUPPORT_EMMC_BOOT=y
-CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_MODE=0
 CONFIG_SF_DEFAULT_SPEED=50000000
 CONFIG_PHY_SMSC=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_ATMEL_USART=y
 CONFIG_USB=y
+CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="L+G VInCo"