summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* eth: check for valid parameters for ethaddr, ipaddr, ...Sascha Hauer2008-08-201-0/+32
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix string_to_ipSascha Hauer2008-08-204-17/+27
| | | | | | | | Use a pointer to an ip address instead of the return value in string_to_ip and use the return value for error indication only. 0.0.0.0 can be a valid ip address Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: remove unused function declarationsSascha Hauer2008-08-201-8/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* parameter: set errno in dev_set_paramSascha Hauer2008-08-201-2/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* parameter: make stringlen more readableSascha Hauer2008-08-201-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: Coding style changesSascha Hauer2008-08-201-7/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Net: Remove all hardcoded MAC addresses from default environmentsSascha Hauer2008-08-208-14/+2
| | | | | | | While very convenient during debugging having MAC addresses in default environments is a very bad idea. Stop it! Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootm: honour the -n flag againSascha Hauer2008-08-201-2/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootm: memmap now returns (void *)-1 for failure. Test for this instead of NULLSascha Hauer2008-08-201-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* This patch adds support for Beagle Board.Raghavendra KH2008-08-205-0/+473
| | | | | | | | | | | | | Beagle board from TI is a development platform based on TI's OMAP3530 silicon. You can find more about Beagle Board here: www.beagleboard.org More on OMAP3530 (including documentation can be found here): http://focus.ti.com/docs/prod/folders/print/omap3530.html Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
* Remove duplicate OMAP3_CLOCK_CONFIG introduced by commit ID 5e4390feRaghavendra KH2008-08-201-6/+0
| | | | | Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
* Introduce a common board header for functions required by platform.SRaghavendra KH2008-08-202-9/+11
| | | | | | | | | | | This will prevent redundancies of multiple board-xyz.h files all doing the same thing. This deletes the redundant board-sdp343x.h and fixes the corresponding .c for the change. Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
* loadb: change default download fileNishanth Menon2008-08-201-1/+1
| | | | | | | | | | | | | The default download device was /dev/mem Quote Sascha: "This is a quite dangerous thing. There are quite some boards out there which have NOR Flash on 0x0. With a default file of /dev/mem we would overwrite U-Boot." Change default device to image.bin Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* loadb: Add buffered writeNishanth Menon2008-08-201-6/+49
| | | | | | | | | | Default loadb behavior works on packet sized chunks of kermit data to be put on target file This would not work good on block devices such as NAND. solution will be to buffer data up to standard 4096 chunks before giving to device. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* loadb: remove old-style-u-boot-ifdefs around whole fileSascha Hauer2008-08-191-2/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* loadb: change -d to -fNishanth Menon2008-08-191-3/+3
| | | | | | | | | | -d represents devices only.. but loadb can operate on files as well. hence Use -f as option to select the output file. This is more representative of what we are trying to do. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* loadb: create fileNishanth Menon2008-08-191-5/+10
| | | | | | | | | | | Allow loadb and loady to create file if file not present. This will allow for downloading a file to filesystem and cp or doing other operations on the same. Making this as an option instead of a default behavior ensures that users intend to create file when they use -c option Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Driver: expose dummy_probeNishanth Menon2008-08-151-0/+1
| | | | | | expose Dummy Probe function so that modules can use it. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Common: expose callocNishanth Menon2008-08-151-0/+1
| | | | | | | calloc is not exported by default. This patch exposes the same. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Bitops:Remove generic_funcsNishanth Menon2008-08-156-105/+23
| | | | | | | Use asm-generic/bitops/xyz.h instead of using generic_xyz functions. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Bitops:Cleanup ARM bitopsNishanth Menon2008-08-153-42/+273
| | | | | | | | Cleanup of ARM bitops functions. Introduce the findbits.S which allows for optimized algo. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* U-Boot-V2:Bitops: asm-generic bitopsNishanth Menon2008-08-1512-0/+469
| | | | | | | | This introduces selected generic bitop files from kernel. We don't need minix, ext2, sched or lock based bitops. Those have been dropped. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Let 'go' command interpret filenames.Sascha Hauer2008-08-141-9/+33
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* implement memmap for mem driverSascha Hauer2008-08-143-1/+12
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: Add SRAM deviceSascha Hauer2008-08-141-0/+11
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: Configure chipselects for SRAM / CAN ControllerSascha Hauer2008-08-141-3/+13
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ups, some debug printf slipped inSascha Hauer2008-08-141-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: update defconfigSascha Hauer2008-08-141-9/+19
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: check for errorsSascha Hauer2008-08-141-1/+7
| | | | | | Make the pcm038 startup a bit more robust against errors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Partition: Add an own device id for partitionsSascha Hauer2008-08-143-2/+16
| | | | | | | | Add an own device id for partitions. This is necessary to allow the partition layer to check if the given device is really a partition. Also, check for readonly flag in erase. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add missing call to eth_halt()Sascha Hauer2008-08-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* increase maximum driver name length to 32Sascha Hauer2008-08-141-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* some merge leftover slipped inSascha Hauer2008-08-131-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: add missing includeSascha Hauer2008-08-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: use environment in NAND/NOR depending on where we started fromSascha Hauer2008-08-131-10/+25
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* SPI: Add empty spi_register_board_info function when SPI is disabledSascha Hauer2008-08-131-1/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Partition layer updatesSascha Hauer2008-08-131-9/+5
| | | | | | | - route MEMGETINFO through partition layer - use dev_erase/dev_protect instead of direct pointers Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nand: Allow adding/removing of more than one bad block aware device at onceSascha Hauer2008-08-132-71/+108
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add missing close() in do_protectSascha Hauer2008-08-131-4/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm038: Update environment for NANDSascha Hauer2008-08-136-17/+55
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* saveenv: close fileSascha Hauer2008-08-131-2/+5
| | | | | | | | Close the file in saveenv before calling envfs_save and reopen it afterwards. NAND Bad block aware devices allow opening a file only once. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove tools/updaterSascha Hauer2008-08-1311-2194/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx27: Add BOOT bitfield definitionsSascha Hauer2008-08-131-0/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* NAND: nand command updatesSascha Hauer2008-08-131-16/+43
| | | | | | | - allow removal of bad block aware devices - turn printfs into debug Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* PCM038: NAND related updatesSascha Hauer2008-08-132-72/+127
| | | | | | | | - Add NAND resources - Add booting from NAND - Move parts of lowlevel_init to C-Code to save space in bare_init Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused include fileSascha Hauer2008-08-131-60/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* init: add section for early codeSascha Hauer2008-08-132-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add i.MX NAND driverSascha Hauer2008-08-133-0/+1197
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX27: Add NAND Flash Controller base addressSascha Hauer2008-08-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* NAND: add Kconfig to drivers/nandSascha Hauer2008-08-132-2/+17
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>