diff options
author | Chris Packham <judge.packham@gmail.com> | 2017-08-28 20:50:47 +1200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-08 10:23:01 -0400 |
commit | 0683fb7242100a2a006d23627e9a53822136a615 (patch) | |
tree | 3348ab67c6c924a045f59dd8a8e1679c1a0b4414 /doc | |
parent | f58ad98a621ce5059d9608a9b41cfabac277094a (diff) | |
download | u-boot-0683fb7242100a2a006d23627e9a53822136a615.tar.gz u-boot-0683fb7242100a2a006d23627e9a53822136a615.tar.bz2 u-boot-0683fb7242100a2a006d23627e9a53822136a615.zip |
usb: doc: update README.usb for new config options
A number of the config options for USB networking have been migrated to
Kconfig. Update README.usb to reflect this.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.usb | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/README.usb b/doc/README.usb index fb7e688daf..6e46345cab 100644 --- a/doc/README.usb +++ b/doc/README.usb @@ -125,23 +125,27 @@ bootp To enable USB Host Ethernet in U-Boot, your platform must of course support USB with CONFIG_CMD_USB enabled and working. You will need to -add some config settings to your board header file: +add some config settings to your board config: -#define CONFIG_CMD_USB /* the 'usb' interactive command */ -#define CONFIG_USB_HOST_ETHER /* Enable USB Ethernet adapters */ +CONFIG_CMD_USB=y /* the 'usb' interactive command */ +CONFIG_USB_HOST_ETHER=y /* Enable USB Ethernet adapters */ and one or more of the following for individual adapter hardware: -#define CONFIG_USB_ETHER_ASIX -#define CONFIG_USB_ETHER_MCS7830 -#define CONFIG_USB_ETHER_SMSC95XX +CONFIG_USB_ETHER_ASIX=y +CONFIG_USB_ETHER_ASIX88179=y +CONFIG_USB_ETHER_LAN75XX=y +CONFIG_USB_ETHER_LAN78XX=y +CONFIG_USB_ETHER_MCS7830=y +CONFIG_USB_ETHER_RTL8152=y +CONFIG_USB_ETHER_SMSC95XX=y As with built-in networking, you will also want to enable some network commands, for example: -#define CONFIG_CMD_NET -#define CONFIG_CMD_PING -#define CONFIG_CMD_DHCP +CONFIG_CMD_NET=y +CONFIG_CMD_PING=y +CONFIG_CMD_DHCP=y and some bootp options, which tell your board to obtain its subnet, gateway IP, host name and boot path from the bootp/dhcp server. These |