Update MTD to that of Linux 2.6.22.1A lot changed in the Linux MTD code, since it was last ported fromLinux to U-Boot. This patch takes U-Boot NAND support to the levelof Linux 2.6.22.1 and will
Update MTD to that of Linux 2.6.22.1A lot changed in the Linux MTD code, since it was last ported fromLinux to U-Boot. This patch takes U-Boot NAND support to the levelof Linux 2.6.22.1 and will enable support for very large NAND devices(4KB pages) and ease the compatibility between U-Boot and Linuxfilesystems.This patch is tested on two custom boards with PPC and ARMprocessors running YAFFS in U-Boot and Linux using gcc-4.1.2cross compilers.MAKEALL ppc/arm has some issues: * DOC/OneNand/nand_spl is not building (I have not tried porting these parts, and since I do not have any HW and I am not familiar with this code/HW I think its best left to someone else.)Except for the issues mentioned above, I have ported all driversnecessary to run MAKEALL ppc/arm without errors and warnings. Manydrivers were trivial to port, but some were not so trivial. Thefollowing drivers must be examined carefully and maybe rewritten tosome degree: cpu/ppc4xx/ndfc.c cpu/arm926ejs/davinci/nand.c board/delta/nand.c board/zylonite/nand.cSigned-off-by: William Juul <william.juul@tandberg.com>Signed-off-by: Stig Olsen <stig.olsen@tandberg.com>Signed-off-by: Scott Wood <scottwood@freescale.com>
show more ...
NAND: Rename DEBUG to MTDDEBUG to avoid namespace pollution.This is particularly problematic now that non-NAND-specific code isincluding <nand.h>, and thus all debugging code is being compiledreg
NAND: Rename DEBUG to MTDDEBUG to avoid namespace pollution.This is particularly problematic now that non-NAND-specific code isincluding <nand.h>, and thus all debugging code is being compiledregardless of whether it was requested, as reported by Scott McNutt<smcnutt@psyent.com>.Signed-off-by: Scott Wood <scottwood@freescale.com>
NAND: Added support for 128-bit OOB, adaptedSigned-off-by: Sergei Poselenov <sposelenov@emcraft.com>
NAND FSL UPM: driver re-write using the hwcontrol callbackThis is a re-write of the NAND FSL UPM driver using the more universalhwcontrol callback (instead of the cmdfunc callback). Here is a brie
NAND FSL UPM: driver re-write using the hwcontrol callbackThis is a re-write of the NAND FSL UPM driver using the more universalhwcontrol callback (instead of the cmdfunc callback). Here is a brieflist of furher modifications:- For the time being, the UPM setup writing the UPM array has been removed from the driver and must now be done by the board specific code.- The bus width definition in "struct fsl_upm_nand" is now in bits to comply with the corresponding Linux driver and 8, 16 and 32 bit accesses are supported.- chip->dev_read is only set if fun->dev_ready != NULL, which is required for boards not connecting the R/B pin.- A few issue have been fixed with MxMR bit manipulation like in the corresponding Linux driver.Note: I think the "io_addr" field of "struct fsl_upm" could be removed as well, because the address is already determined by "nand->IO_ADDR_[RW]", but I'm not 100% sure.This patch has been tested on a TQM8548 modules with the NAND chipMicron MT29F8G08FABWP.This patch is based on the following patches posted to this list a fewminutes ago: PPC: add accessor macros to clear and set bits in one shot 83xx/85xx/86xx: add more MxMR local bus definitionsSigned-off-by: Wolfgang Grandegger <wg@grandegger.com>Acked-by: Anton Vorontsov <avorontsov@ru.mvista.com>
NAND: Provide a sane default for NAND_MAX_CHIPS.This allows the header to be included regardless of whether a board'sconfig file provides NAND-related defininitions.Signed-off-by: Scott Wood <sc
NAND: Provide a sane default for NAND_MAX_CHIPS.This allows the header to be included regardless of whether a board'sconfig file provides NAND-related defininitions.Signed-off-by: Scott Wood <scottwood@freescale.com>
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print st
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print statements).Also remove all embedded "vim:" and "vi:" statements which hideindentation problems.Signed-off-by: Wolfgang Denk <wd@denx.de>
nand: FSL UPM NAND driverSigned-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
fix various commentsSigned-off-by: Marcel Ziswiler <marcel@ziswiler.com>
OneNAND support (take #2)[PATCH 3/3] OneNAND support (take #2)OneNAND support at U-BootSigned-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[PATCH][NAND] Define the Vendor Id for Micron NAND FlashSigned-off-by: Ulf Samuelsson <ulf@atmel.com>Signed-off-by: Ladislav Michl <ladis@linux-mips.org>Signed-off-by: Stefan Roese <sr@denx.de>
Add support for AMCC Sequoia PPC440EPx eval board- Add support for PPC440EPx & PPC440GRx- Add support for PPC440EP(x)/GR(x) NAND controller in cpu/ppc4xx directory- Add NAND boot functionality f
Add support for AMCC Sequoia PPC440EPx eval board- Add support for PPC440EPx & PPC440GRx- Add support for PPC440EP(x)/GR(x) NAND controller in cpu/ppc4xx directory- Add NAND boot functionality for Sequoia board, please see doc/README.nand-boot-ppc440 for details- This Sequoia NAND image doesn't support environment in NAND for now. This will be added in a short while.Patch by Stefan Roese, 07 Sep 2006
Code cleanup
Remove dependencies between DoC code and old legacy NAND driver.Necessary defines and data structures were copied to DoC specific filesso that legacy NAND code could be entirely removed from u-boot
Remove dependencies between DoC code and old legacy NAND driver.Necessary defines and data structures were copied to DoC specific filesso that legacy NAND code could be entirely removed from u-boot treein the near future.
Minor code cleanup
Re-factoring the legacy NAND code (legacy NAND now only in board-specificcode and in SoC code). Boards using the old way have CFG_NAND_LEGACY andBOARDLIBS = drivers/nand_legacy/libnand_legacy.a add
Re-factoring the legacy NAND code (legacy NAND now only in board-specificcode and in SoC code). Boards using the old way have CFG_NAND_LEGACY andBOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage forNETTA.ERR and NETTA_ISDN - will go away when the new NAND support isimplemented for these boards.
Merge with /home/wd/git/u-boot/testing-NAND/ to add new NAND handling.
Update of new NAND codePatch by Ladislav Michl, 13 Sep 2005
Rewrite of NAND code based on what is in 2.6.12 Linux kernelPatch by Ladislav Michl, 29 Jun 2005
Patches by Josef Wagner, 29 Oct 2004:- Add support for MicroSys CPU87 board- Add support for MicroSys PM854 board
* Patch by Gary Jennejohn, 11 Sep 2003: - 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.
* Patch by Gary Jennejohn, 11 Sep 2003: - 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
* Patch by Scott McNutt, 21 Jul 2003: Add support for LynuxWorks Kernel Downloadable Images (KDIs). Both LynxOS and BlueCat linux KDIs are supported.* Patch by Richard Woodruff, 25 Jul 2003:
* Patch by Scott McNutt, 21 Jul 2003: 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.
* Code cleanup: - 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: -
* Code cleanup: - 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 Murray Jensen, 20 Jun 2003:- hymod update- cleanup (especially for gcc-3.x compilers)
* Patch by Marc Singer, 29 May 2003: 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, 2
* Patch by Marc Singer, 29 May 2003: 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
Make compile clean, fix the usual small problems.
123456789