summaryrefslogtreecommitdiffstats
path: root/net/tftp.c
Commit message (Collapse)AuthorAgeFilesLines
* remove global variable BootFileSascha Hauer2009-10-191-2/+2
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: use debug macroSascha Hauer2009-10-191-6/+2
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: coding styleSascha Hauer2009-10-191-47/+32
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: reorder to get rid of static function declarationsSascha Hauer2009-10-191-15/+7
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: remove never reached state STATE_BAD_MAGICSascha Hauer2009-10-171-13/+1
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: remove never reached state STATE_TOO_LARGESascha Hauer2009-10-171-14/+2
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: remove volatile from variablesSascha Hauer2009-10-171-4/+4
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* remove unused codeSascha Hauer2009-10-171-11/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: consolidate different puts to printfSascha Hauer2009-10-171-7/+6
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: remove unnecessary gateway informationSascha Hauer2009-10-171-11/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* remove unused variable NetBootFileSizeSascha Hauer2009-10-171-5/+0
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* tftp: remove default filename. We always have a filename givenSascha Hauer2009-10-171-15/+1
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* net: cleanup header fileSascha Hauer2009-10-131-1/+0
| | | | | | move contents of bootp.h to .c file and remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tftp: do not call NetStartAgain()Sascha Hauer2009-10-131-13/+5
| | | | | | | | | When we are in the middle of transferring a file it does not make sense to restart the transfer because we may transfer directly to flash in which case we would have to erase the flash prior to attempting again. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tftp.c: use sprintf instead of several strcpy functionsSascha Hauer2008-03-311-11/+2
|
* print_size() -> size_human_readable()Sascha Hauer2007-09-261-7/+5
| | | | return a pointer to a human readable string rather than printingit directly
* - putc is now putchar for better standard conformitySascha Hauer2007-09-211-3/+3
| | | | - make printf return int
* svn_rev_683Sascha Hauer2007-07-051-5/+0
| | | | more cleanups, fix compiler warnings
* svn_rev_440Sascha Hauer2007-07-051-1/+1
| | | | | what a silly bug of mine. Chances were good we generated a negative port number causing tftp to fail
* svn_rev_408Sascha Hauer2007-07-051-3/+12
| | | | store_block can fail
* svn_rev_270Sascha Hauer2007-07-051-2/+3
| | | | WIP FS support
* svn_rev_268Sascha Hauer2007-07-051-1/+1
| | | | WIP
* svn_rev_223Sascha Hauer2007-07-051-0/+1
| | | | add missing include
* svn_rev_211Sascha Hauer2007-07-051-3/+4
| | | | memcpy -> write
* svn_rev_108Sascha Hauer2007-07-051-32/+3
| | | | removed ifdefs, moved ping to own file, fix timeout handler
* svn_rev_035Sascha Hauer2007-07-051-1/+1
| | | | no modulo for 64bit
* svn_rev_033Sascha Hauer2007-07-051-1/+2
| | | | change to clocksource api
* Fix typo.Wolfgang Denk2006-08-141-1/+1
| | | | Patch by Andreas Engel, 28 Nov 2005
* Merge with /home/m8/git/u-bootWolfgang Denk2005-10-151-1/+1
|\
| * Added support for TQM834x boards.Marian Balakowicz2005-10-111-1/+1
| |
* | Cleanup for GCC-4.xWolfgang Denk2005-10-131-1/+1
|/
* Update for TFTP using a fixed UDP portWolfgang Denk2005-09-241-1/+4
| | | | | | Use the approved environment variable names. Added "tftpdstp" to allow ports other than 69 per Tolunay Orkun's recommendation. Patch by Jerry Van Baren, 12 Jan 2005
* Allow to force TFTP to use a fixed UDP portWolfgang Denk2005-09-241-0/+10
| | | | | (Add a configuration option CONFIG_TFTP_PORT and optional env variable tftpport) Patch by Jerry Van Baren, 10 Jan 2005
* Prepare U-Boot for gcc-4.xWolfgang Denk2005-08-261-8/+20
|
* Fix endianess problem in TFTP / NFS default filenamesWolfgang Denk2005-08-041-6/+4
| | | | Patch by Hiroshi Ito, 06 Dec 2004
* Patches by Pantelis Antoniou, 30 Mar 2004:wdenk2004-04-151-1/+1
| | | | add networking support for VLANs (802.1q), and CDP (Cisco Discovery Protocol)
* * Patches by Thomas Viehweger, 16 Mar 2004:wdenk2004-03-231-1/+1
| | | | | | | | | - show PCI clock frequency on MPC8260 systems - add FCC_PSMR_RMII flag for HiP7 processors - in do_jffs2_fsload(), take load address from load_addr if not set explicit, update load_addr otherwise - replaced printf by putc/puts when no formatting is needed (smaller code size, faster execution)
* * Patch by Laurent Mohin, 10 Feb 2004:wdenk2004-02-231-4/+4
| | | | | | | | | Fix buffer overflow in common/usb.c * Patch by Tolunay Orkun, 10 Feb 2004: Add support for Cogent CSB272 board * Code cleanup
* * CVS add missing fileswdenk2004-02-231-9/+32
| | | | | | | | | | | | | | | | | | | | | | | * Cleanup compiler warnings * Fix problem with side effects in macros in include/usb.h * Patch by David Benson, 13 Nov 2003: bug 841358 - fix TFTP download size limit * Fixing bug 850768: improper flush_cache() in load_serial() * Fixing bug 834943: MPC8540 - missing volatile declarations * Patch by Stephen Williams, 09 Feb 2004: Add support for Xilinx SystemACE chip: - New files common/cmd_ace.c and include/systemace.h - Hook systemace support into cmd_fat and the partition manager * Patch by Travis Sawyer, 09 Feb 2004: Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux
* * Use "-fPIC" instead of "-mrelocatable" to prevent problems withwdenk2003-11-171-0/+3
| | | | | | | | | | | | | recent tools * Add checksum verification to 'imls' command * Add bd_info fields needed for 4xx Linux I2C driver * Patch by Martin Krause, 4 Nov. 2003: Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) * Print used network interface when CONFIG_NET_MULTI is set
* * Update TRAB auto update codewdenk2003-10-061-1/+26
| | | | | | | | | | | * Make fatload set filesize environment variable fix potential buffer overlow problem * enable basic / medium / high-end configurations for PPChameleonEVB board; fix NAND code * enable TFTP client code to specify to the server the desired timeout value (see RFC-2349)
* * Make Ethernet autonegotiation on INCA-IP work for all clock rates;wdenk2003-08-171-1/+1
| | | | | | | | | | | | | allow selection of clock frequency as "make" target * Implement memory autosizing code for IceCube boards * Configure network port on INCA-IP for autonegotiation * Fix overflow problem in network timeout code * Patch by Richard Woodruff, 8 Aug 2003: Allow crc32 to be used at address 0x000 (crc32_no_comp, too).
* * Add support for RMU boardwdenk2003-06-051-15/+4
| | | | | | | | * Add support for TQM862L at 100/50 MHz * Patch by Pantelis Antoniou, 02 Jun 2003: major reconstruction of networking code; add "ping" support (outgoing only!)
* Initial revisionwdenk2002-11-031-0/+326