[U-Boot] Pull request: nand-flash

Scott Wood scottwood at freescale.com
Tue Aug 12 18:37:47 CEST 2008


These patches are from the testing/mtd-2.6.22.1 branch of
u-boot-nand-flash.

Note that this is a significant change to the NAND subsystem (importing a
newer upstream version) that affects the driver interface.  If your board
has NAND, please test.

The following changes since commit cd82919e6c8a73b363a26f34b734923844e52d1c:
  Wolfgang Denk (1):
        Coding style cleanup, update CHANGELOG, prepare release

are available in the git repository at:

  git://www.denx.de/git/u-boot-nand-flash.git master

Anton Vorontsov (2):
      fsl_elbc_nand: workaround for hangs during nand write
      nand: fsl_upm: convert to updated MTD NAND infrastructure

Fathi BOUDRA (1):
      OneNAND: Fill in MTD function pointers for OneNAND.

Guennadi Liakhovetski (2):
      NAND: Do not write or read a whole block if it is larger than the environment
      nand_spl: Support page-aligned read in nand_load, use chipselect

Ilya Yanok (1):
      NAND: Scan bad blocks lazily.

Marcel Ziswiler (1):
      NAND: chip->state does not always get set.

Scott Wood (8):
      Don't panic if a controller driver does ecc its own way.
      Freescale eLBC FCM NAND driver
      fsl_elbc_nand: Hard-code the FBAR/FPAR split.
      NAND: Always skip blocks on read/write/boot.
      NAND read/write fix
      mpc8313erdb: Enable NAND in config.
      NAND boot: MPC8313ERDB support
      NAND boot: Update large page support for current API.

Sergey Kubushyn (1):
      NAND: Davinci driver updates

Stefan Roese (5):
      NAND: Change nand_wait_ready() to not call nand_wait()
      NAND: Update 4xx NDFC driver to match updated nand subsystem
      NAND: Update nand_spl driver to match updated nand subsystem
      NAND: Fix compilation warning and small coding style issue
      NAND: Make NAND driver less verbose per default

William Juul (10):
      Update MTD to that of Linux 2.6.22.1
      Remove white space at end.
      Fixing coding style issues
      Whitespace cleanup and marking broken code.
      YAFFS2 import
      Incorporate yaffs2 into U-boot
      Create symlinks from yaffs2/direct to yaffs2
      Clean out unneeded files
      moving files from yaffs2/direct/ to yaffs2/ and deleting all symlinks
      make nand dump and nand dump.oob work

 Makefile                                        |   13 +-
 board/bf537-stamp/nand.c                        |   43 +-
 board/dave/PPChameleonEVB/nand.c                |   49 +-
 board/delta/nand.c                              |   41 +-
 board/esd/common/esd405ep_nand.c                |   42 +-
 board/freescale/m5329evb/nand.c                 |   42 +-
 board/freescale/mpc8313erdb/config.mk           |    6 +
 board/freescale/mpc8313erdb/mpc8313erdb.c       |   32 +
 board/freescale/mpc8313erdb/sdram.c             |    5 +-
 board/nc650/nand.c                              |   78 +-
 board/netstar/nand.c                            |   20 +-
 board/prodrive/alpr/nand.c                      |   57 +-
 board/prodrive/pdnb3/nand.c                     |   53 +-
 board/sc3/sc3nand.c                             |   44 +-
 board/tqc/tqm8272/tqm8272.c                     |   34 +-
 board/zylonite/nand.c                           |   39 +-
 common/Makefile                                 |    1 +
 common/cmd_doc.c                                |    9 +
 common/cmd_nand.c                               |  253 +-
 common/cmd_onenand.c                            |    2 +-
 common/cmd_yaffs2.c                             |  215 +
 common/env_nand.c                               |   18 +-
 cpu/arm926ejs/davinci/nand.c                    |   58 +-
 cpu/mpc83xx/nand_init.c                         |  112 +
 cpu/mpc83xx/start.S                             |  152 +-
 cpu/ppc4xx/ndfc.c                               |  112 +-
 doc/README.nand                                 |   37 +-
 drivers/mtd/nand/Makefile                       |    1 +
 drivers/mtd/nand/diskonchip.c                   |  546 +-
 drivers/mtd/nand/fsl_elbc_nand.c                |  767 +++
 drivers/mtd/nand/fsl_upm.c                      |   68 +-
 drivers/mtd/nand/nand_base.c                    | 3503 ++++++-----
 drivers/mtd/nand/nand_bbt.c                     |  549 ++-
 drivers/mtd/nand/nand_ecc.c                     |   21 +-
 drivers/mtd/nand/nand_ids.c                     |   91 +-
 drivers/mtd/nand/nand_util.c                    |  723 +--
 drivers/mtd/onenand/onenand_base.c              |   24 +-
 fs/Makefile                                     |    2 +-
 fs/yaffs2/Makefile                              |   56 +
 fs/yaffs2/README-linux                          |  201 +
 fs/yaffs2/devextras.h                           |  275 +
 fs/yaffs2/yaffs_checkptrw.c                     |  405 ++
 fs/yaffs2/yaffs_checkptrw.h                     |   35 +
 fs/yaffs2/yaffs_ecc.c                           |  333 +
 fs/yaffs2/yaffs_ecc.h                           |   44 +
 fs/yaffs2/yaffs_flashif.h                       |   31 +
 fs/yaffs2/yaffs_guts.c                          | 7491 +++++++++++++++++++++++
 fs/yaffs2/yaffs_guts.h                          |  908 +++
 fs/yaffs2/yaffs_malloc.h                        |   26 +
 fs/yaffs2/yaffs_mtdif.c                         |  246 +
 fs/yaffs2/yaffs_mtdif.h                         |   27 +
 fs/yaffs2/yaffs_mtdif2.c                        |  235 +
 fs/yaffs2/yaffs_mtdif2.h                        |   29 +
 fs/yaffs2/yaffs_nand.c                          |  134 +
 fs/yaffs2/yaffs_nand.h                          |   44 +
 fs/yaffs2/yaffs_nandemul2k.h                    |   39 +
 fs/yaffs2/yaffs_packedtags1.c                   |   55 +
 fs/yaffs2/yaffs_packedtags1.h                   |   37 +
 fs/yaffs2/yaffs_packedtags2.c                   |  185 +
 fs/yaffs2/yaffs_packedtags2.h                   |   38 +
 fs/yaffs2/yaffs_qsort.c                         |  163 +
 fs/yaffs2/yaffs_qsort.h                         |   23 +
 fs/yaffs2/yaffs_ramdisk.h                       |   32 +
 fs/yaffs2/yaffs_tagscompat.c                    |  533 ++
 fs/yaffs2/yaffs_tagscompat.h                    |   40 +
 fs/yaffs2/yaffs_tagsvalidity.c                  |   31 +
 fs/yaffs2/yaffs_tagsvalidity.h                  |   24 +
 fs/yaffs2/yaffscfg.c                            |  417 ++
 fs/yaffs2/yaffscfg.h                            |   46 +
 fs/yaffs2/yaffsfs.c                             | 1510 +++++
 fs/yaffs2/yaffsfs.h                             |  233 +
 fs/yaffs2/yaffsinterface.h                      |   21 +
 fs/yaffs2/ydirectenv.h                          |   94 +
 fs/yaffs2/yportenv.h                            |  193 +
 include/common.h                                |    2 +
 include/configs/MPC8313ERDB.h                   |   84 +-
 include/linux/err.h                             |   45 +
 include/linux/mtd/blktrans.h                    |   81 +
 include/linux/mtd/compat.h                      |    7 +-
 include/linux/mtd/doc2000.h                     |  217 +-
 include/linux/mtd/fsl_upm.h                     |    3 +
 include/linux/mtd/inftl-user.h                  |   91 +
 include/linux/mtd/jffs2-user.h                  |   35 +
 include/linux/mtd/mtd-abi.h                     |  137 +-
 include/linux/mtd/mtd.h                         |  150 +-
 include/linux/mtd/nand.h                        |  449 +-
 include/linux/mtd/nftl-user.h                   |   76 +
 include/linux/mtd/nftl.h                        |   93 +-
 include/linux/mtd/ubi-header.h                  |  360 ++
 include/linux/mtd/ubi-user.h                    |  161 +
 include/mpc83xx.h                               |    2 +
 include/nand.h                                  |   10 +-
 include/onenand_uboot.h                         |    2 +-
 lib_ppc/time.c                                  |    4 +-
 nand_spl/board/freescale/mpc8313erdb/Makefile   |  101 +
 nand_spl/board/freescale/mpc8313erdb/u-boot.lds |   52 +
 nand_spl/nand_boot.c                            |   98 +-
 nand_spl/nand_boot_fsl_elbc.c                   |  150 +
 98 files changed, 20605 insertions(+), 3901 deletions(-)
 create mode 100644 common/cmd_yaffs2.c
 create mode 100644 cpu/mpc83xx/nand_init.c
 create mode 100644 drivers/mtd/nand/fsl_elbc_nand.c
 create mode 100644 fs/yaffs2/Makefile
 create mode 100644 fs/yaffs2/README-linux
 create mode 100644 fs/yaffs2/devextras.h
 create mode 100644 fs/yaffs2/yaffs_checkptrw.c
 create mode 100644 fs/yaffs2/yaffs_checkptrw.h
 create mode 100644 fs/yaffs2/yaffs_ecc.c
 create mode 100644 fs/yaffs2/yaffs_ecc.h
 create mode 100644 fs/yaffs2/yaffs_flashif.h
 create mode 100644 fs/yaffs2/yaffs_guts.c
 create mode 100644 fs/yaffs2/yaffs_guts.h
 create mode 100644 fs/yaffs2/yaffs_malloc.h
 create mode 100644 fs/yaffs2/yaffs_mtdif.c
 create mode 100644 fs/yaffs2/yaffs_mtdif.h
 create mode 100644 fs/yaffs2/yaffs_mtdif2.c
 create mode 100644 fs/yaffs2/yaffs_mtdif2.h
 create mode 100644 fs/yaffs2/yaffs_nand.c
 create mode 100644 fs/yaffs2/yaffs_nand.h
 create mode 100644 fs/yaffs2/yaffs_nandemul2k.h
 create mode 100644 fs/yaffs2/yaffs_packedtags1.c
 create mode 100644 fs/yaffs2/yaffs_packedtags1.h
 create mode 100644 fs/yaffs2/yaffs_packedtags2.c
 create mode 100644 fs/yaffs2/yaffs_packedtags2.h
 create mode 100644 fs/yaffs2/yaffs_qsort.c
 create mode 100644 fs/yaffs2/yaffs_qsort.h
 create mode 100644 fs/yaffs2/yaffs_ramdisk.h
 create mode 100644 fs/yaffs2/yaffs_tagscompat.c
 create mode 100644 fs/yaffs2/yaffs_tagscompat.h
 create mode 100644 fs/yaffs2/yaffs_tagsvalidity.c
 create mode 100644 fs/yaffs2/yaffs_tagsvalidity.h
 create mode 100644 fs/yaffs2/yaffscfg.c
 create mode 100644 fs/yaffs2/yaffscfg.h
 create mode 100644 fs/yaffs2/yaffsfs.c
 create mode 100644 fs/yaffs2/yaffsfs.h
 create mode 100644 fs/yaffs2/yaffsinterface.h
 create mode 100644 fs/yaffs2/ydirectenv.h
 create mode 100644 fs/yaffs2/yportenv.h
 create mode 100644 include/linux/err.h
 create mode 100644 include/linux/mtd/blktrans.h
 create mode 100644 include/linux/mtd/inftl-user.h
 create mode 100644 include/linux/mtd/jffs2-user.h
 create mode 100644 include/linux/mtd/nftl-user.h
 create mode 100644 include/linux/mtd/ubi-header.h
 create mode 100644 include/linux/mtd/ubi-user.h
 create mode 100644 nand_spl/board/freescale/mpc8313erdb/Makefile
 create mode 100644 nand_spl/board/freescale/mpc8313erdb/u-boot.lds
 create mode 100644 nand_spl/nand_boot_fsl_elbc.c



More information about the U-Boot mailing list