summaryrefslogtreecommitdiffstats
path: root/include/linux
Commit message (Collapse)AuthorAgeFilesLines
* Coding style cleanup, update CHANGELOGWolfgang Denk2008-09-131-11/+11
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* update linux/listJean-Christophe PLAGNIOL-VILLARD2008-08-312-45/+472
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix OneNAND read_oob/write_oob functions compatabilityKyungmin Park2008-08-213-2/+29
| | | | | | | Also sync with kernel OneNAND codes Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Coding Style cleanup, update CHANGELOGWolfgang Denk2008-08-145-23/+21
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk2008-08-144-42/+21
|\
| * Fix OneNAND build breakKyungmin Park2008-08-134-42/+21
| | | | | | | | | | | | | | | | | | Since page size field is changed from oobblock to writesize. But OneNAND is not updated. - fix bufferram management at erase operation This patch includes the NAND/OneNAND state filed too. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* | drivers/mtd/nand: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-132-2/+2
|/ | | | | | rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* NAND: Scan bad blocks lazily.Ilya Yanok2008-08-121-0/+2
| | | | | | | | | | Rather than scanning on boot, scan upon the first attempt to check the badness of a block. This speeds up boot when not using NAND, and reduces the likelihood of needing to reflash via JTAG if NAND becomes nonfunctional. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* nand: fsl_upm: convert to updated MTD NAND infrastructureAnton Vorontsov2008-08-121-0/+3
| | | | | Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Fixing coding style issuesWilliam Juul2008-08-122-6/+7
| | | | | | | | | - Fixing leading white spaces - Fixing indentation where 4 spaces are used instead of tab - Removing C++ comments (//), wherever I introduced them Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Remove white space at end.William Juul2008-08-121-1/+1
| | | | | Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Update MTD to that of Linux 2.6.22.1William Juul2008-08-1213-419/+1484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot changed in the Linux MTD code, since it was last ported from Linux to U-Boot. This patch takes U-Boot NAND support to the level of Linux 2.6.22.1 and will enable support for very large NAND devices (4KB pages) and ease the compatibility between U-Boot and Linux filesystems. This patch is tested on two custom boards with PPC and ARM processors running YAFFS in U-Boot and Linux using gcc-4.1.2 cross 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 drivers necessary to run MAKEALL ppc/arm without errors and warnings. Many drivers were trivial to port, but some were not so trivial. The following drivers must be examined carefully and maybe rewritten to some degree: cpu/ppc4xx/ndfc.c cpu/arm926ejs/davinci/nand.c board/delta/nand.c board/zylonite/nand.c Signed-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>
* NAND: Rename DEBUG to MTDDEBUG to avoid namespace pollution.Scott Wood2008-07-091-2/+2
| | | | | | | | | This is particularly problematic now that non-NAND-specific code is including <nand.h>, and thus all debugging code is being compiled regardless 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, adaptedSergei Poselenov2008-06-111-1/+1
| | | | Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
* NAND FSL UPM: driver re-write using the hwcontrol callbackWolfgang Grandegger2008-06-101-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-281-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-216-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-281-2/+2
| | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* nand: FSL UPM NAND driverAnton Vorontsov2008-01-161-0/+39
| | | | Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
* fix various commentsMarcel Ziswiler2008-01-091-1/+1
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* OneNAND support (take #2)Kyungmin Park2007-09-173-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-241-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-082-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-182-33/+216
| |\
| | * Import <linux/mii.h> from the Linux kernelHaavard Skinnemoen2007-04-141-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-141-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-091-1/+1
| |
* | [PATCH] MTD partition support, JFFS2 supportMichal Simek2007-04-241-1/+2
|/
* Add support for AMCC Sequoia PPC440EPx eval boardStefan Roese2006-09-072-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-211-37/+37
|
* Scheduled for removal: strnicmp() which is unusedWolfgang Denk2006-05-031-1/+1
|
* Remove dependencies between DoC code and old legacy NAND driver.Marian Balakowicz2006-04-051-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-121-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-061-1/+0
|
* Re-factoring the legacy NAND code (legacy NAND now only in board-specificBartlomiej Sieka2006-03-054-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-247-1/+861
|\
| * Update of new NAND codeWolfgang Denk2005-09-143-63/+63
| | | | | | | | Patch by Ladislav Michl, 13 Sep 2005
| * Merge with testing-NAND (Rewrite of NAND code)Wolfgang Denk2005-08-176-116/+775
| |\
| | * Rewrite of NAND code based on what is in 2.6.12 Linux kernelWolfgang Denk2005-08-176-116/+775
| | | | | | | | | | | | Patch by Ladislav Michl, 29 Jun 2005
* | | Cleanup for GCC-4.xWolfgang Denk2005-10-131-3/+3
| | |
* | | Add cramfs support for m68kWolfgang Denk2005-09-251-1/+1
|/ / | | | | | | Patch by Zachary Landau, 21 Feb 2005
* | Add configuration for IFM AEV FIFO board.Wolfgang Denk2005-08-101-17/+17
| | | | | | | | Minor coding style cleanup.
* | Add common (with Linux) MTD partition scheme and "mtdparts" commandWolfgang Denk2005-08-081-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-032-18/+22
| | | | | - Add support for MicroSys CPU87 board - Add support for MicroSys PM854 board
* * Patch by Shlomo Kut, 29 Mar 2004:wdenk2004-09-292-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-231-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-141-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-071-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-121-0/+31
|
* * Patch by Gary Jennejohn, 11 Sep 2003:wdenk2003-09-111-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
OpenPOWER on IntegriCloud