summaryrefslogtreecommitdiff
path: root/include/configs/warp7.h
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2016-12-16 21:08:10 (GMT)
committerStefano Babic <sbabic@denx.de>2017-01-02 16:11:10 (GMT)
commit25aaebdb123b1c59c95d5515a06f14537a870855 (patch)
treec414b6153d0b0206ed3ac231ab4de0aa2e5662d2 /include/configs/warp7.h
parent5d3a28abe4a1fa17798049b084f7f7fcd2da2b40 (diff)
downloadu-boot-25aaebdb123b1c59c95d5515a06f14537a870855.tar.xz
ARM: imx7s-warp: enable USB gadget ethernet
Enable USB gadget ethernet by default to have networking capabilities. Tested using DHCP and TFTP to transfer kernel, DT, ramdisk. Cc: Fabio Estevam <festevam@gmail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'include/configs/warp7.h')
-rw-r--r--include/configs/warp7.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index d3b0c5e..f4a9231 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -38,6 +38,7 @@
"script=boot.scr\0" \
"image=zImage\0" \
"console=ttymxc0\0" \
+ "ethact=usb_ether\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \
"fdt_file=imx7s-warp.dtb\0" \
@@ -145,4 +146,10 @@
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
#define DFU_DEFAULT_POLL_TIMEOUT 300
+#define CONFIG_USB_ETHER
+#define CONFIG_USB_ETH_CDC
+#define CONFIG_USB_ETH_RNDIS
+#define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00"
+#define CONFIG_USBNET_DEV_ADDR "de:ad:be:af:00:01"
+
#endif