net: tftpput: Support selecting get/put for tftp

TftpStart should support starting either a get or a put.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2011-10-24 18:00:05 +00:00
committed by Wolfgang Denk
parent e4cde2f70d
commit 58f317d182
4 changed files with 4 additions and 5 deletions

View File

@@ -165,7 +165,7 @@ static void auto_load(void)
}
#endif
}
TftpStart();
TftpStart(TFTPGET);
}
#if !defined(CONFIG_CMD_DHCP)