Skip to content
Commit c8c3fd24 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

net: Add a function to run dhcp



At present this must be done by executing the command. Also it involves
fiddling with the environment to determine the correct autoload behaviour.

Ideally it should be possible to run network operations without even
having the command line present (CONFIG_CMDLINE).

For now, add a function to handle DHCP, so it can be called from a bootdev
more easily.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent 843160fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment