commit | ce2dd6ef8c0cef27458f9f3859856dc67c4c06a4 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Thu Mar 11 23:56:03 2010 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Thu Mar 11 23:56:03 2010 +0100 |
tree | 5ec5cad02c97e90ff1c4c2d03b5013ab590e0230 | |
parent | bca17eaea75e33013d54f01fc27c287217ffa50a [diff] |
Move CONFIG_UPDATE_TFTP code after CONFIG_PREBOOT The auto-update feature (CONFIG_UPDATE_TFTP) requires that the env variable serverip be set for the TFTP access. If DHCP is to be used to get the serverip env variable, this doesn't work as DHCP happens after the auto-update attempt has run. A solution is to run DHCP in PREBOOT, but even this is too late. To solve this, we move update_tftp() below the PREBOOT stuff. Signed-off-by: Wolfgang Denk <wd@denx.de>