]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
config: hikey: convert to DM_USB and DM_ETH
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 10 Feb 2021 17:29:16 +0000 (17:29 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:48 +0000 (16:51 -0500)
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>
configs/hikey_defconfig
include/configs/hikey.h

index 5fb48238ec7fddae939e415833810f2f687648c4..280a59a748a3a1091cc8f9e3a94329c6ed373a77 100644 (file)
@@ -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
index a323a0bf69b0a3ec6ac3969ffdd6c25cec6d3e9f..659fbee052d5d6fabcf4a5f17ea63cd8adcbeb7a 100644 (file)
@@ -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