summaryrefslogtreecommitdiff
path: root/include/linux
Commit message (Collapse)AuthorAgeLines
* NAND FSL UPM: driver re-write using the hwcontrol callbackWolfgang Grandegger2008-06-10-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a re-write of the NAND FSL UPM driver using the more universal hwcontrol callback (instead of the cmdfunc callback). Here is a brief list 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 chip Micron MT29F8G08FABWP. This patch is based on the following patches posted to this list a few minutes ago: PPC: add accessor macros to clear and set bits in one shot 83xx/85xx/86xx: add more MxMR local bus definitions Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Anton Vorontsov <avorontsov@ru.mvista.com>
* NAND: Provide a sane default for NAND_MAX_CHIPS.Scott Wood2008-05-28-0/+4
| | | | | | | This allows the header to be included regardless of whether a board's config file provides NAND-related defininitions. Signed-off-by: Scott Wood <scottwood@freescale.com>
* Big white-space cleanup.Wolfgang Denk2008-05-21-49/+49
| | | | | | | | | | | This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
* sh: Add support stat structure and stat.hNobuhiro Iwamatsu2008-03-28-2/+2
| | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* nand: FSL UPM NAND driverAnton Vorontsov2008-01-16-0/+39
| | | | Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
* fix various commentsMarcel Ziswiler2008-01-09-1/+1
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* OneNAND support (take #2)Kyungmin Park2007-09-17-0/+451
| | | | | | | | [PATCH 3/3] OneNAND support (take #2) OneNAND support at U-Boot Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* [PATCH][NAND] Define the Vendor Id for Micron NAND FlashUlf Samuelsson2007-05-24-0/+1
| | | | | | Signed-off-by: Ulf Samuelsson <ulf@atmel.com> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
* Merge git://www.denx.de/git/u-bootMichal Simek2007-05-08-34/+217
|\ | | | | | | | | | | | | Conflicts: include/asm-microblaze/microblaze_intc.h include/linux/stat.h
| * Merge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup.Wolfgang Denk2007-04-18-33/+216
| |\
| | * Import <linux/mii.h> from the Linux kernelHaavard Skinnemoen2007-04-14-0/+158
| | | | | | | | | | | | | | | | | | | | | | | | Instead of creating yet another set of MII register definitions in the macb driver, here's a complete set of definitions for everyone to use. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| | * AVR32: Provide a definition of struct statHaavard Skinnemoen2007-04-14-0/+25
| |/ | | | | | | | | | | Copy the definition of struct stat from the Linux kernel. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| * [Blackfin][PATCH-2/2] Common files changed to support bf533 platformAubrey.Li2007-03-09-1/+1
| |
* | [PATCH] MTD partition support, JFFS2 supportMichal Simek2007-04-24-1/+2
|/
* Add support for AMCC Sequoia PPC440EPx eval boardStefan Roese2006-09-07-0/+69
| | | | | | | | | | | - 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 cleanupWolfgang Denk2006-07-21-37/+37
|
* Scheduled for removal: strnicmp() which is unusedWolfgang Denk2006-05-03-1/+1
|
* Remove dependencies between DoC code and old legacy NAND driver.Marian Balakowicz2006-04-05-0/+65
| | | | | | Necessary defines and data structures were copied to DoC specific files so that legacy NAND code could be entirely removed from u-boot tree in the near future.
* Add ADI Blackfin supportWolfgang Denk2006-03-12-1/+1
| | | | | | | - add support for Analog Devices Blackfin BF533 CPU - add support for the ADI BF533 Stamp uClinux board - add support for the ADI BF533 EZKit board Patches by Richard Klingler, June 11th 2005:
* Minor code cleanupWolfgang Denk2006-03-06-1/+0
|
* Re-factoring the legacy NAND code (legacy NAND now only in board-specificBartlomiej Sieka2006-03-05-588/+592
| | | | | | | 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-24-1/+861
|\
| * Update of new NAND codeWolfgang Denk2005-09-14-63/+63
| | | | | | | | Patch by Ladislav Michl, 13 Sep 2005
| * Merge with testing-NAND (Rewrite of NAND code)Wolfgang Denk2005-08-17-116/+775
| |\
| | * Rewrite of NAND code based on what is in 2.6.12 Linux kernelWolfgang Denk2005-08-17-116/+775
| | | | | | | | | | | | Patch by Ladislav Michl, 29 Jun 2005
* | | Cleanup for GCC-4.xWolfgang Denk2005-10-13-3/+3
| | |
* | | Add cramfs support for m68kWolfgang Denk2005-09-25-1/+1
|/ / | | | | | | Patch by Zachary Landau, 21 Feb 2005
* | Add configuration for IFM AEV FIFO board.Wolfgang Denk2005-08-10-17/+17
| | | | | | | | Minor coding style cleanup.
* | Add common (with Linux) MTD partition scheme and "mtdparts" commandWolfgang Denk2005-08-08-0/+258
|/ | | | | | | | Old, obsolete and duplicated code was cleaned up and replace by the new partitioning method. There are two possible approaches now: * define a single, static partition * use mtdparts command line option and dynamic partitioning Default is static partitioning.
* Patches by Josef Wagner, 29 Oct 2004:wdenk2005-04-03-18/+22
| | | | | - Add support for MicroSys CPU87 board - Add support for MicroSys PM854 board
* * Patch by Shlomo Kut, 29 Mar 2004:wdenk2004-09-29-0/+2
| | | | | | | Add support for MKS Instruments "Quantum" board * Fix build problem with Cogent boards; avoid using <asm/byteorder.h> when using the host compiler
* * Patch by Carl Riechers, 17 Mar 2004:wdenk2004-03-23-1/+1
| | | | | | | | Ignore '\0' characters in console input for use with telnet and telco pads. * Patch by Leon Kukovec, 17 Mar 2004: typo fix for strswab prototype #ifdef
* * Patch by Yuli Barcohen, 4 Mar 2004:wdenk2004-03-14-0/+3
| | | | | | | | | | | | | | | | | Fix problems with GCC 3.3.x which changed handling of global variables explicitly initialized to zero (now in .bss instead of .data as before). * Patch by Leon Kukovec, 02 Mar 2004: add strswab() to fix IDE LBA capacity, firmware and model numbers on little endian machines * Patch by Masami Komiya, 02 Mar 2004: - Remove get_ticks() from NFS code - Add verification of RPC transaction ID * Patch by Pierre Aubert, 02 Mar 2004: cleanup for IDE and USB drivers for MPC5200
* * Patch by liang a lei, 9 Jan 2004:wdenk2004-02-07-9/+9
| | | | | | | | | | | Fix Intel 28F128J3 ID in include/flash.h * Patch by Masami Komiya, 09 Jan 2004: add support for TB0229 board (NEC VR4131 MIPS processor) * Patch by Leon Kukovec, 12 Dec 2003: changed extern __inline__ into static __inline__ in include/linux/byteorder/swab.h
* Add JFFS2 support for INCA-IP boardwdenk2003-12-12-0/+31
|
* * Patch by Gary Jennejohn, 11 Sep 2003:wdenk2003-09-11-1/+1
| | | | | | | | | | | - 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:wdenk2003-07-27-3/+3
| | | | | | | | | | | | | | | | | | | | 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:wdenk2003-06-27-23/+23
| | | | | | | | | - 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:wdenk2003-06-21-1/+1
| | | | | - hymod update - cleanup (especially for gcc-3.x compilers)
* * Patch by Marc Singer, 29 May 2003:wdenk2003-05-31-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.wdenk2003-03-26-7/+0
|
* * Patch by Rick Bronson, 16 Mar 2003:wdenk2003-03-26-2/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* * Patch by Daniel Engström, 13 Nov 2002:wdenk2002-11-18-1/+1
| | | | | | | Add support for i386 architecture and AMD SC520 board * Patch by Pierre Aubert, 12 Nov 2002: Add support for DOS filesystem and booting from DOS floppy disk
* Initial revisionwdenk2002-11-03-0/+180
|
* Initial revisionwdenk2002-11-02-0/+139
|
* Initial revisionwdenk2002-08-14-0/+68
|
* Initial revisionwdenk2002-07-14-0/+101
|
* Initial revisionwdenk2002-03-31-0/+18
|
* Initial revisionwdenk2002-03-08-0/+316
|
* Initial revisionwdenk2002-01-26-0/+105
|