public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Pull request: nand-flash
@ 2008-08-12 16:37 Scott Wood
  2008-08-12 20:01 ` Wolfgang Denk
  2008-08-12 23:06 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 2 replies; 12+ messages in thread
From: Scott Wood @ 2008-08-12 16:37 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
  2008-08-12 16:37 Scott Wood
@ 2008-08-12 20:01 ` Wolfgang Denk
  2008-08-12 23:06 ` Jean-Christophe PLAGNIOL-VILLARD
  1 sibling, 0 replies; 12+ messages in thread
From: Wolfgang Denk @ 2008-08-12 20:01 UTC (permalink / raw)
  To: u-boot

Dear Scott Wood,

In message <20080812163747.GA11066@ld0162-tx32.am.freescale.net> you wrote:
> 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

Done. Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Far back in the mists of ancient time, in the great and glorious days
of the former Galactic Empire, life was wild, rich  and  largely  tax
free.         - Douglas Adams, _The Hitchhiker's Guide to the Galaxy_

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
  2008-08-12 16:37 Scott Wood
  2008-08-12 20:01 ` Wolfgang Denk
@ 2008-08-12 23:06 ` Jean-Christophe PLAGNIOL-VILLARD
  2008-08-13 16:06   ` Scott Wood
  1 sibling, 1 reply; 12+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-08-12 23:06 UTC (permalink / raw)
  To: u-boot

On 11:37 Tue 12 Aug     , Scott Wood wrote:
> 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

With this patchset, a lot of arm board are broken

nand.c: In function 'at91cap9adk_nand_hwcontrol':
nand.c:47: error: 'NAND_CTL_SETCLE' undeclared (first use in this
function)
nand.c:47: error: (Each undeclared identifier is reported only once
nand.c:47: error: for each function it appears in.)
nand.c:50: error: 'NAND_CTL_SETALE' undeclared (first use in this
function)
nand.c:53: error: 'NAND_CTL_CLRNCE' undeclared (first use in this
function)
nand.c:56: error: 'NAND_CTL_SETNCE' undeclared (first use in this
function)
nand.c: In function 'board_nand_init':
nand.c:65: error: 'struct nand_chip' has no member named 'eccmode'
nand.c:69: error: incompatible types in assignment
make[1]: *** [nand.o] Error 1

Configuring for apollon board...
onenand_base.c: In function 'onenand_bufferram_offset':
onenand_base.c:331: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_read_ecc':
onenand_base.c:541: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:543: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:544: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:545: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:549: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_read_oob':
onenand_base.c:664: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_write_ecc':
onenand_base.c:749: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:749: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:760: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:762: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:768: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c: In function 'onenand_probe':
onenand_base.c:1212: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1214: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1216: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1219: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1221: error: 'struct mtd_info' has no member named
'oobblock'
onenand_base.c:1243: error: 'struct mtd_info' has no member named
'read_ecc'
onenand_base.c:1244: error: 'struct mtd_info' has no member named
'write_ecc'
onenand_base.c:1245: warning: assignment from incompatible pointer type
onenand_base.c:1246: warning: assignment from incompatible pointer type
make[1]: *** [onenand_base.o] Error 1

etc...

what do we do?

Best Regards,
J.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
  2008-08-12 23:06 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-08-13 16:06   ` Scott Wood
  0 siblings, 0 replies; 12+ messages in thread
From: Scott Wood @ 2008-08-13 16:06 UTC (permalink / raw)
  To: u-boot

On Wed, Aug 13, 2008 at 01:06:33AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> nand.c: In function 'at91cap9adk_nand_hwcontrol':
> nand.c:47: error: 'NAND_CTL_SETCLE' undeclared (first use in this
> function)
> nand.c:47: error: (Each undeclared identifier is reported only once
> nand.c:47: error: for each function it appears in.)
> nand.c:50: error: 'NAND_CTL_SETALE' undeclared (first use in this
> function)
> nand.c:53: error: 'NAND_CTL_CLRNCE' undeclared (first use in this
> function)
> nand.c:56: error: 'NAND_CTL_SETNCE' undeclared (first use in this
> function)
> nand.c: In function 'board_nand_init':
> nand.c:65: error: 'struct nand_chip' has no member named 'eccmode'
> nand.c:69: error: incompatible types in assignment
> make[1]: *** [nand.o] Error 1

They need to be updated to the new API (existing drivers were converted
when mtd-2.6.22.1 was brought in on a branch, but there have been new
drivers added in mainline since then).  I'll post a patch later today,
though I can't test it due to lack of hardware.

> Configuring for apollon board...
> onenand_base.c: In function 'onenand_bufferram_offset':
> onenand_base.c:331: error: 'struct mtd_info' has no member named
> 'oobblock'
> onenand_base.c: In function 'onenand_read_ecc':
> onenand_base.c:541: error: 'struct mtd_info' has no member named
> 'oobblock'
> onenand_base.c:543: error: 'struct mtd_info' has no member named
> 'oobblock'

I've applied a patch from Kyungmin Park to fix this one (though there's
still an API mismatch in OneNAND that needs to be fixed).

-Scott

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
@ 2008-08-13 23:38 Scott Wood
  2008-08-14 11:02 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: Scott Wood @ 2008-08-13 23:38 UTC (permalink / raw)
  To: u-boot

The following changes since commit 8641ff266ae6638da201747c239fd39ba34c4958:
  Wolfgang Denk (1):
        Merge branch 'master' of git://www.denx.de/git/u-boot-at91

are available in the git repository at:

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

Kyungmin Park (1):
      Fix OneNAND build break

Scott Wood (5):
      at91: Update board NAND drivers to current API.
      s3c24x0: Update NAND driver to new API.
      m5373evb: Update NAND driver to new API.
      quad100hd: Update NAND driver to new API.
      socrates: Update NAND driver to new API.

 board/atmel/at91cap9adk/nand.c     |   37 +++++-----
 board/atmel/at91sam9260ek/nand.c   |   37 +++++-----
 board/atmel/at91sam9261ek/nand.c   |   37 +++++-----
 board/atmel/at91sam9263ek/nand.c   |   37 +++++-----
 board/atmel/at91sam9rlek/nand.c    |   37 +++++-----
 board/freescale/m5373evb/nand.c    |   64 +++++-------------
 board/quad100hd/nand.c             |   36 ++++------
 board/socrates/nand.c              |   84 +++++++++--------------
 common/env_onenand.c               |   10 ++--
 cpu/arm920t/s3c24x0/nand.c         |   64 +++++++++---------
 drivers/mtd/onenand/onenand_base.c |  131 ++++++++++++++++++++++++++----------
 drivers/mtd/onenand/onenand_bbt.c  |    4 +-
 include/linux/mtd/mtd.h            |   16 +++++
 include/linux/mtd/nand.h           |   16 +----
 include/linux/mtd/nand_legacy.h    |   12 ---
 include/linux/mtd/onenand.h        |   19 +----
 16 files changed, 307 insertions(+), 334 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
  2008-08-13 23:38 [U-Boot] Pull request: nand-flash Scott Wood
@ 2008-08-14 11:02 ` Wolfgang Denk
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Denk @ 2008-08-14 11:02 UTC (permalink / raw)
  To: u-boot

Dear Scott Wood,

In message <20080813233853.GA6660@ld0162-tx32.am.freescale.net> you wrote:
> The following changes since commit 8641ff266ae6638da201747c239fd39ba34c4958:
>   Wolfgang Denk (1):
>         Merge branch 'master' of git://www.denx.de/git/u-boot-at91
> 
> are available in the git repository at:
> 
>   git://www.denx.de/git/u-boot-nand-flash.git master
> 
> Kyungmin Park (1):
>       Fix OneNAND build break
> 
> Scott Wood (5):
>       at91: Update board NAND drivers to current API.
>       s3c24x0: Update NAND driver to new API.
>       m5373evb: Update NAND driver to new API.
>       quad100hd: Update NAND driver to new API.
>       socrates: Update NAND driver to new API.
> 
>  board/atmel/at91cap9adk/nand.c     |   37 +++++-----
>  board/atmel/at91sam9260ek/nand.c   |   37 +++++-----
>  board/atmel/at91sam9261ek/nand.c   |   37 +++++-----
>  board/atmel/at91sam9263ek/nand.c   |   37 +++++-----
>  board/atmel/at91sam9rlek/nand.c    |   37 +++++-----
>  board/freescale/m5373evb/nand.c    |   64 +++++-------------
>  board/quad100hd/nand.c             |   36 ++++------
>  board/socrates/nand.c              |   84 +++++++++--------------
>  common/env_onenand.c               |   10 ++--
>  cpu/arm920t/s3c24x0/nand.c         |   64 +++++++++---------
>  drivers/mtd/onenand/onenand_base.c |  131 ++++++++++++++++++++++++++----------
>  drivers/mtd/onenand/onenand_bbt.c  |    4 +-
>  include/linux/mtd/mtd.h            |   16 +++++
>  include/linux/mtd/nand.h           |   16 +----
>  include/linux/mtd/nand_legacy.h    |   12 ---
>  include/linux/mtd/onenand.h        |   19 +----
>  16 files changed, 307 insertions(+), 334 deletions(-)

Done.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You're too beautiful to ignore.  Too much woman.
	-- Kirk to Yeoman Rand, "The Enemy Within", stardate unknown

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
@ 2008-08-21 19:06 Scott Wood
  2008-08-22 22:10 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: Scott Wood @ 2008-08-21 19:06 UTC (permalink / raw)
  To: u-boot

The following changes since commit ba37aa03287c5483c61c0a3e320c8888bee0143a:
  Kumar Gala (1):
        fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

are available in the git repository at:

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

Kyungmin Park (1):
      Fix OneNAND read_oob/write_oob functions compatability

Remy Bohmer (1):
      Make the YAFFS filesystem work

Scott Wood (1):
      NAND: Remove delay from nand_boot_fsl_elbc.c.

 common/cmd_onenand.c               |   49 ++-
 drivers/mtd/onenand/onenand_base.c |  884 ++++++++++++++++++++++++++++--------
 drivers/mtd/onenand/onenand_bbt.c  |   22 +-
 fs/yaffs2/yaffscfg.c               |    5 +-
 include/linux/mtd/bbm.h            |    7 +
 include/linux/mtd/onenand.h        |   22 +-
 include/linux/mtd/onenand_regs.h   |    2 +
 include/onenand_uboot.h            |   14 +-
 nand_spl/nand_boot_fsl_elbc.c      |    2 -
 9 files changed, 776 insertions(+), 231 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
  2008-08-21 19:06 Scott Wood
@ 2008-08-22 22:10 ` Wolfgang Denk
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Denk @ 2008-08-22 22:10 UTC (permalink / raw)
  To: u-boot

Dear Scott Wood,

In message <20080821190613.GA25943@ld0162-tx32.am.freescale.net> you wrote:
> The following changes since commit ba37aa03287c5483c61c0a3e320c8888bee0143a:
>   Kumar Gala (1):
>         fdt: rework fdt_fixup_ethernet() to use env instead of bd_t
> 
> are available in the git repository at:
> 
>   git://www.denx.de/git/u-boot-nand-flash.git master
> 
> Kyungmin Park (1):
>       Fix OneNAND read_oob/write_oob functions compatability
> 
> Remy Bohmer (1):
>       Make the YAFFS filesystem work
> 
> Scott Wood (1):
>       NAND: Remove delay from nand_boot_fsl_elbc.c.
> 
>  common/cmd_onenand.c               |   49 ++-
>  drivers/mtd/onenand/onenand_base.c |  884 ++++++++++++++++++++++++++++--------
>  drivers/mtd/onenand/onenand_bbt.c  |   22 +-
>  fs/yaffs2/yaffscfg.c               |    5 +-
>  include/linux/mtd/bbm.h            |    7 +
>  include/linux/mtd/onenand.h        |   22 +-
>  include/linux/mtd/onenand_regs.h   |    2 +
>  include/onenand_uboot.h            |   14 +-
>  nand_spl/nand_boot_fsl_elbc.c      |    2 -
>  9 files changed, 776 insertions(+), 231 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The average woman would rather have beauty than brains,  because  the
average man can see better than he can think.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
@ 2008-09-12 20:13 Scott Wood
  2008-09-12 23:46 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: Scott Wood @ 2008-09-12 20:13 UTC (permalink / raw)
  To: u-boot

The following changes since commit 0b7c5639891f4103a0e31ec7ae0beb3e97ed3836:
  Heiko Schocher (1):
        muas3001: update BR4 settings

are available in the git repository at:

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

Anton Vorontsov (3):
      fsl_elbc_nand: fix OOB workability for large page NAND chips
      fsl_elbc_nand: implement support for flash-based BBT
      fsl_elbc_nand: ecclayout cleanups

Hugo Villeneuve (1):
      ARM DaVinci: Fix broken HW ECC for large page NAND.

Scott Wood (1):
      delta, zylonite: Update nand_oobinfo to nand_ecclayout.

 board/delta/nand.c               |    6 +--
 board/zylonite/nand.c            |    6 +--
 cpu/arm926ejs/davinci/nand.c     |   81 +++++++++++++++++++++++++++++++++++--
 doc/README.nand                  |    8 ++++
 drivers/mtd/nand/fsl_elbc_nand.c |   56 +++++++++++++++++++++++---
 5 files changed, 138 insertions(+), 19 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
  2008-09-12 20:13 Scott Wood
@ 2008-09-12 23:46 ` Wolfgang Denk
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Denk @ 2008-09-12 23:46 UTC (permalink / raw)
  To: u-boot

Dear Scott Wood,

In message <20080912201310.GA16288@ld0162-tx32.am.freescale.net> you wrote:
> The following changes since commit 0b7c5639891f4103a0e31ec7ae0beb3e97ed3836:
>   Heiko Schocher (1):
>         muas3001: update BR4 settings
> 
> are available in the git repository at:
> 
>   git://www.denx.de/git/u-boot-nand-flash.git master
> 
> Anton Vorontsov (3):
>       fsl_elbc_nand: fix OOB workability for large page NAND chips
>       fsl_elbc_nand: implement support for flash-based BBT
>       fsl_elbc_nand: ecclayout cleanups
> 
> Hugo Villeneuve (1):
>       ARM DaVinci: Fix broken HW ECC for large page NAND.
> 
> Scott Wood (1):
>       delta, zylonite: Update nand_oobinfo to nand_ecclayout.
> 
>  board/delta/nand.c               |    6 +--
>  board/zylonite/nand.c            |    6 +--
>  cpu/arm926ejs/davinci/nand.c     |   81 +++++++++++++++++++++++++++++++++++--
>  doc/README.nand                  |    8 ++++
>  drivers/mtd/nand/fsl_elbc_nand.c |   56 +++++++++++++++++++++++---
>  5 files changed, 138 insertions(+), 19 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No man knows what true happiness is until he gets married.  By  then,
of course, its too late.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
@ 2008-10-17 15:41 Scott Wood
  2008-10-17 19:31 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: Scott Wood @ 2008-10-17 15:41 UTC (permalink / raw)
  To: u-boot

The following changes since commit bf29e0ea0af03d593c64614136acc723a7a022a2:
  Yuri Tikhonov (1):
        ppc4xx: PPC44x MQ initialization

are available in the git repository at:

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

Lepcha Suchit (1):
      83xx NAND boot: wait for LTESR[CC]

 cpu/mpc83xx/start.S |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [U-Boot] Pull request: nand-flash
  2008-10-17 15:41 Scott Wood
@ 2008-10-17 19:31 ` Wolfgang Denk
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Denk @ 2008-10-17 19:31 UTC (permalink / raw)
  To: u-boot

Dear Scott Wood,

In message <20081017154132.GA20354@ld0162-tx32.am.freescale.net> you wrote:
> The following changes since commit bf29e0ea0af03d593c64614136acc723a7a022a2:
>   Yuri Tikhonov (1):
>         ppc4xx: PPC44x MQ initialization
> 
> are available in the git repository at:
> 
>   git://www.denx.de/git/u-boot-nand-flash.git master
> 
> Lepcha Suchit (1):
>       83xx NAND boot: wait for LTESR[CC]
> 
>  cpu/mpc83xx/start.S |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)

Done, thanks!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is wrong always, everywhere and for everyone to  believe  anything
upon  insufficient  evidence.  - W. K. Clifford, British philosopher,
circa 1876

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-10-17 19:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 23:38 [U-Boot] Pull request: nand-flash Scott Wood
2008-08-14 11:02 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2008-10-17 15:41 Scott Wood
2008-10-17 19:31 ` Wolfgang Denk
2008-09-12 20:13 Scott Wood
2008-09-12 23:46 ` Wolfgang Denk
2008-08-21 19:06 Scott Wood
2008-08-22 22:10 ` Wolfgang Denk
2008-08-12 16:37 Scott Wood
2008-08-12 20:01 ` Wolfgang Denk
2008-08-12 23:06 ` Jean-Christophe PLAGNIOL-VILLARD
2008-08-13 16:06   ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox