diff mbox series

[v2] config: hikey: convert to DM_USB and DM_ETH

Message ID 20210210172916.255126-1-pbrobinson@gmail.com
State Accepted
Commit db5f1a50eff8cadd463cebd4448e00a9a2934f40
Delegated to: Tom Rini
Headers show
Series [v2] config: hikey: convert to DM_USB and DM_ETH | expand

Commit Message

Peter Robinson Feb. 10, 2021, 5:29 p.m. UTC
Convert the hikey to use DM_USB and DM_ETH.

Conversion based on rpi as it has a similar DWC config.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---

v2: fix copy paste error

 configs/hikey_defconfig | 2 ++
 include/configs/hikey.h | 4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Tom Rini Feb. 25, 2021, 1:25 p.m. UTC | #1
On Wed, Feb 10, 2021 at 05:29:16PM +0000, Peter Robinson wrote:

> Convert the hikey to use DM_USB and DM_ETH.
> 
> Conversion based on rpi as it has a similar DWC config.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

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

Patch

diff --git a/configs/hikey_defconfig b/configs/hikey_defconfig
index 5fb48238ec..280a59a748 100644
--- a/configs/hikey_defconfig
+++ b/configs/hikey_defconfig
@@ -25,7 +25,9 @@  CONFIG_DM_MMC=y
 CONFIG_MMC_DW=y
 CONFIG_MMC_DW_K3=y
 CONFIG_CONS_INDEX=4
+CONFIG_DM_ETH=y
 CONFIG_USB=y
+CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
diff --git a/include/configs/hikey.h b/include/configs/hikey.h
index a323a0bf69..659fbee052 100644
--- a/include/configs/hikey.h
+++ b/include/configs/hikey.h
@@ -47,9 +47,7 @@ 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + SZ_8M)
 
-#ifdef CONFIG_CMD_USB
-#define CONFIG_USB_DWC2_REG_ADDR 0xF72C0000
-/*#define CONFIG_DWC2_DFLT_SPEED_FULL*/
+#ifdef CONFIG_USB_DWC2
 #define CONFIG_DWC2_ENABLE_DYNAMIC_FIFO
 #endif