summaryrefslogtreecommitdiffstats
path: root/common/cmd_nand.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix do_div() usage in nand process outputMatthias Fuchs2007-09-151-1/+1
| | | | | | | | | | Fix usage of do_div() in nand erase|read|write process output. The last patch to nand_util.c introduced do_div() instead of libgcc's implementation. But do_div() returns the quotient in its first macro parameter and not as result. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* NAND: Add CFG_NAND_QUIET optionMatthias Fuchs2007-09-151-0/+4
| | | | | | | | | | | | | | | This config option sets the default for the progress information output behavior that can also be configured through the 'quiet' environment variable. The legacy NAND code does not print the current progress info on the console. So this option is for backward compatibility for units that are in the field and where setting the quiet variable is not an option. With CFG_NAND_QUIET set to '1' the console progress info is turned off. This can still be overwritten through the environment variable. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-151-32/+38
|\
| * Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-061-9/+9
| |\
| | * Merge branch 'testing' into workingAndy Fleming2007-08-031-9/+9
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG fs/fat/fat.c include/configs/MPC8560ADS.h include/configs/pcs440ep.h net/eth.c
| | | * common/cmd_[i-n]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger2007-07-081-14/+9
| | | | | | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | | * common/cmd_[i-z]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-041-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | | make show_boot_progress () weak.Heiko Schocher2007-07-131-37/+29
| |/ / | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| * | [PCS440EP] upgrade the PCS440EP board:Heiko Schocher2007-06-221-12/+26
| |/ | | | | | | | | | | | | | | | | | | | | | | - Show on the Status LEDs, some States of the board. - Get the MAC addresses from the EEProm - use PREBOOT - use the CF on the board. - check the U-Boot image in the Flash with a SHA1 checksum. - use dynamic TLB entries generation for the SDRAM Signed-off-by: Heiko Schocher <hs@denx.de>
* | [NAND] Bad block skipping for command nbootThomas Knobloch2007-07-061-5/+32
|/ | | | | | | | | | | | The old implementation of command nboot does not support reading the image from NAND flash with skipping of bad blocks. The patch implements a new version of the nboot command: by calling nboot.jffs2 from the u-boot command line the command will load the image from NAND flash with respect to bad blocks (by using nand_read_opts()). This is similar to e.g. the NAND read command: "nand read.jffs2 ...". Signed-off-by: Thomas Knobloch <knobloch@siemens.com> Signed-off-by: Stefan Roese <sr@denx.de>
* Code cleanup.Wolfgang Denk2006-11-301-140/+144
|
* [PATCH] NAND: Partition name support added to NAND subsystemStefan Roese2006-10-281-152/+194
| | | | | | | | chpart, nboot and NAND subsystem related commands now accept also partition name to specify offset. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
* Add board/cpu specific NAND chip select function to 440 NDFCStefan Roese2006-10-201-0/+8
| | | | | Based on idea and implementation from Jeff Mann Patch by Stefan Roese, 20 Oct 2006
* Fix spelling; minor code cleanup.Wolfgang Denk2006-10-121-1/+1
|
* Cleanup of NAND update patch (remove changelog from cmd_nand.c)Stefan Roese2006-10-111-1/+0
| | | | Patch by Guido Classen, 10 Oct 2006
* * Several improvements to the new NAND subsystem:Stefan Roese2006-10-101-25/+201
| | | | | | | | | - JFFS2 related commands implemented in mtd-utils style - Support for bad blocks - Bad block testing commands - NAND lock commands Please take a look at doc/README.nand for more details Patch by Guido Classen, 10 Oct 2006
* Add loads of ntohl() in image header handlingWolfgang Denk2006-03-121-1/+1
| | | | Patch by Steven Scholz, 10 Jun 2005
* Minor code cleanupWolfgang Denk2006-03-061-2/+0
|
* Re-factoring the legacy NAND code (legacy NAND now only in board-specificBartlomiej Sieka2006-03-051-1547/+412
| | | | | | | code and in SoC code). Boards using the old way have CFG_NAND_LEGACY and BOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage for NETTA.ERR and NETTA_ISDN - will go away when the new NAND support is implemented for these boards.
* Merge with /home/wd/git/u-boot/testing-NAND/ to add new NAND handling.Bartlomiej Sieka2006-02-241-1/+1
|\
| * Update of new NAND codeWolfgang Denk2005-09-141-277/+1763
| | | | | | | | Patch by Ladislav Michl, 13 Sep 2005
| * Rewrite of NAND code based on what is in 2.6.12 Linux kernelWolfgang Denk2005-08-171-1762/+277
| | | | | | | | Patch by Ladislav Michl, 29 Jun 2005
* | Cleanup for GCC-4.xWolfgang Denk2005-10-131-9/+9
| |
* | Fix problem in cmd_nand.c (only when defined CFG_NAND_SKIP_BAD_DOT_I)Stefan Roese2005-08-121-1/+2
|/ | | | Patch by Matthias Fuchs, 4 May 2005
* * Fix debug code in omap5912osk flash driverwdenk2005-05-121-3/+4
| | | | * Add support for MPC8247 based "IDS8247" board.
* * Patch by Matthias Fuchs, 03 May 2005:stroese2005-05-031-0/+2
| | | | | Added missing variable declaration in cmd_nand.c Modified CFG_PCI_PTM1MS in configs/PLU405.h to map 128MB ram
* Patches by Josef Wagner, 29 Oct 2004:wdenk2005-04-031-143/+340
| | | | | - Add support for MicroSys CPU87 board - Add support for MicroSys PM854 board
* added ".i" same as ".jffs2s" for compatibility with older units ↵stroese2004-12-161-0/+8
| | | | (CFG_NAND_SKIP_BAD_DOT_I)
* * Patch by Fred Klatt, 25 Jun 2004:wdenk2004-07-101-0/+4
| | | | | | | | | | | | Add support for WindRiver's SBC8560 board * Patch by Nicolas Lacressonniere, 24 Jun 2004 Small Bugs fixes for "at91rm9200dk" board: - Timing modifications for SPI DataFlash access - Fix NAND flash detection bug * Patch by Nicolas Lacressonniere, 24 Jun 2004: Add Support for Flash AT49BV6416 for AT91RM9200DK board
* Patch by Jian Zhang, 20 May 2004:wdenk2004-06-091-4/+4
| | | | add support for environment in NAND flash
* * Configure PPChameleon board to use redundand environment in flashwdenk2004-04-181-1/+14
| | | | | | * Configure PPChameleon board to use JFFS2 NAND support. * Added support for JFFS2 filesystem (read-only) on top of NAND flash
* Patches by Pantelis Antoniou, 30 Mar 2004:wdenk2004-04-151-1/+13
| | | | add networking support for VLANs (802.1q), and CDP (Cisco Discovery Protocol)
* * Patch by Gary Jennejohn, 11 Sep 2003:wdenk2003-09-111-5/+11
| | | | | | | | | | | - allow for longer timeouts for USB mass storage devices * Patch by Denis Peter, 11 Sep 2003: - fix USB data pointer assignment for bulk only transfer. - prevent to display erased directories in FAT filesystem. * Change output format for NAND flash - make it look like for other memory, too
* * Add support for USB Mass Storage Devices (BBB)wdenk2003-09-101-1/+1
| | | | | | (tested with USB memory sticks only) * Avoid flicker on TRAB's VFD
* Adjustments / cleanup for PPChameleon EVB boardwdenk2003-09-031-1/+3
|
* * Add support for PPChameleon Eval Boardwdenk2003-09-021-1/+1
| | | | | | | * Add support for P3G4 board * Fix problem with MGT5100 FEC driver: add "early" MAC address initialization
* * Patch by Scott McNutt, 21 Jul 2003:wdenk2003-07-271-31/+83
| | | | | | | | | | | | | | | | | | | | Add support for LynuxWorks Kernel Downloadable Images (KDIs). Both LynxOS and BlueCat linux KDIs are supported. * Patch by Richard Woodruff, 25 Jul 2003: use more reliable reset for OMAP/925T * Patch by Nye Liu, 25 Jul 2003: fix typo in mpc8xx.h * Patch by Richard Woodruff, 24 Jul 2003: Fixes for cmd_nand.c: - Fixed null dereferece which could result in incorrect ECC values. - Added support for devices with no Ready/Busy signal hooked up. - Added OMAP1510 read/write protect handling. - Fixed nand.h's ECCPOS. A conflict existed with POS5 and badblock for non-JFFS2. - Switched default ECC to be JFFS2.
* Patch by Kenneth Johansson, 30 Jun 2003:wdenk2003-07-011-4/+4
| | | | get rid of MK_CMD_ENTRY macro; update doc/README.command
* Fix some missing commands, cleanup header fileswdenk2003-06-291-0/+21
| | | | (autoscript, bmp, bsp, fat, mmc, nand, portio, ...)
* * Code cleanup:wdenk2003-06-271-10/+10
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* * Patch by Marc Singer, 29 May 2003:wdenk2003-05-311-292/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed rarp boot method for IA32 and other little-endian CPUs. * Patch by Marc Singer, 28 May 2003: Added port I/O commands. * Patch by Matthew McClintock, 28 May 2003 - cpu/mpc824x/start.S: fix relocation code when booting from RAM - minor patches for utx8245 * Patch by Daniel Engström, 28 May 2003: x86 update * Patch by Dave Ellis, 9 May 2003 + 27 May 2003: add nand flash support to SXNI855T configuration fix/extend nand flash support: - fix 'nand erase' command so does not erase bad blocks - fix 'nand write' command so does not write to bad blocks - fix nand_probe() so handles no flash detected properly - add doc/README.nand - add .jffs2 and .oob options to nand read/write - add 'nand bad' command to list bad blocks - add 'clean' option to 'nand erase' to write JFFS2 clean markers - make NAND read/write faster * Patch by Rune Torgersen, 23 May 2003: Update for MPC8266ADS board
* * Patch by Martin Winistoerfer, 23 Mar 2003wdenk2003-03-311-129/+144
| | | | | | | | | - Add port to MPC555/556 microcontrollers - Add support for cmi customer board with Intel 28F128J3A, 28F320J3A or 28F640J3A flash. * Patch by Rick Bronson, 28 Mar 2003: - fix common/cmd_nand.c
* * Patch by Arun Dharankar, 24 Mar 2003:wdenk2003-03-311-5/+19
| | | | | | | | | | - add threads / scheduler example code * Add patches by Robert Schwebel, 31 Mar 2003: - add ctrl-c support for kermit download - align bdinfo output on ARM * Add CPU ID, version, and clock speed for INCA-IP
* Make compile clean, fix the usual small problems.wdenk2003-03-261-1/+0
|
* * Patch by Rick Bronson, 16 Mar 2003:wdenk2003-03-261-0/+1545
Add support for Atmel AT91RM9200DK w/NAND * Patches by Robert Schwebel, 19 Mar 2003: - use arm-linux-gcc as default compiler for ARM - fix i2c fixup code - fix missing baudrate setting - added $loadaddr / CFG_LOAD_ADDR support to loadb - moved "ignoring trailing characters" _before_ u-boot wants to print out diagnostics messages; removes bogus characters at the end of transmission * Patch by John Zhan, 18 Mar 2003: Add support for SinoVee Microsystems SC8xx boards * Patch by Rolf Offermanns, 21 Mar 2003: ported the dnp1110 related changes from the current armboot cvs to current u-boot cvs. smc91111 does not work. problem marked in smc91111.c, grep for "FIXME". * Patch by Brian Auld, 25 Mar 2003: Add support for STM flash chips on ebony board * Add PCI support for MPC8250 Boards (PM825 module) * Patch by Stefan Roese, 25 Mar 2003:
OpenPOWER on IntegriCloud