mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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. Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
This commit is contained in:
parent
a70abcff5e
commit
db5f1a50ef
|
@ -25,7 +25,9 @@ CONFIG_DM_MMC=y
|
||||||
CONFIG_MMC_DW=y
|
CONFIG_MMC_DW=y
|
||||||
CONFIG_MMC_DW_K3=y
|
CONFIG_MMC_DW_K3=y
|
||||||
CONFIG_CONS_INDEX=4
|
CONFIG_CONS_INDEX=4
|
||||||
|
CONFIG_DM_ETH=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
CONFIG_DM_USB=y
|
||||||
CONFIG_USB_DWC2=y
|
CONFIG_USB_DWC2=y
|
||||||
CONFIG_USB_HOST_ETHER=y
|
CONFIG_USB_HOST_ETHER=y
|
||||||
CONFIG_USB_ETHER_ASIX=y
|
CONFIG_USB_ETHER_ASIX=y
|
||||||
|
|
|
@ -47,9 +47,7 @@
|
||||||
/* Size of malloc() pool */
|
/* Size of malloc() pool */
|
||||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_8M)
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_8M)
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_USB
|
#ifdef CONFIG_USB_DWC2
|
||||||
#define CONFIG_USB_DWC2_REG_ADDR 0xF72C0000
|
|
||||||
/*#define CONFIG_DWC2_DFLT_SPEED_FULL*/
|
|
||||||
#define CONFIG_DWC2_ENABLE_DYNAMIC_FIFO
|
#define CONFIG_DWC2_ENABLE_DYNAMIC_FIFO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user