Skip to contentSkip to conversation

config: hikey: convert to DM_USB and DM_ETH

PATCH New Peter Robinson 2 participants 2 messages Feb 10, 2021 – Feb 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 config: hikey: convert to DM_USB and DM_ETH

Convert the hikey to use DM_USB and DM_ETH.

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

---

v2: fix copy paste error

 configs/hikey_defconfig | 2 ++
 include/configs/hikey.h | 4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)
configs/hikey_defconfig +2 -0
index 5fb48238ec..280a59a748 100644
@@ -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
include/configs/hikey.h +1 -3
index a323a0bf69..659fbee052 100644
@@ -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
 
Signature · 1 line
2.29.2
#1 lore raw

PATCH v2 1/1 config: hikey: convert to DM_USB and DM_ETH

Quoted 5 lines · Peter Robinson

Convert the hikey to use DM_USB and DM_ETH.

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210225/a1f4540e/attachment.sig>