X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=cmd%2Fnet.c;h=df8b6c9b53f09e5dfb2aae6ce05ab871de22dab0;hb=63767071d977d428264769fe7923da6a59cb166b;hp=b2f3c7b709bc59f7449b86a540faaf78d1cce292;hpb=9c3193f8d03d4074fa6ca6b783246b97d8dc2ff5;p=u-boot diff --git a/cmd/net.c b/cmd/net.c index b2f3c7b709..df8b6c9b53 100644 --- a/cmd/net.c +++ b/cmd/net.c @@ -136,7 +136,7 @@ static void netboot_update_env(void) } #if !defined(CONFIG_BOOTP_SERVERIP) /* - * Only attempt to change serverip if net/bootp.c:BootpCopyNetParams() + * Only attempt to change serverip if net/bootp.c:store_net_params() * could have set it */ if (net_server_ip.s_addr) { @@ -243,9 +243,6 @@ static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc, return CMD_RET_SUCCESS; } - /* flush cache */ - flush_cache(load_addr, size); - bootstage_mark(BOOTSTAGE_ID_NET_LOADED); rcode = bootm_maybe_autostart(cmdtp, argv[0]);