commit | 31ef3942fd2f162fadfc489b7a119a41c7a715e8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jan 17 10:47:39 2023 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 23 18:11:40 2023 -0500 |
tree | 0e4a7e820d9048c144e950b4faf48f7d209aec5e | |
parent | df71f26ad22392867b95cee91c8450916472b7e2 [diff] |
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: Simon Glass <sjg@chromium.org> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>