[U-Boot] Pull request: nand flash

The following changes since commit 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: Haavard Skinnemoen (1): Merge branch 'fixes'
are available in the git repository at:
git://git.denx.de/u-boot-nand-flash.git master
Dave Liu (2): mpc83xx: enable eLBC NAND support for MPC8315ERDB board NAND: Fix cache and memory inconsistency issue
Kyungmin Park (2): Sync with 2.6.27 Add markbad function
Mike Frysinger (2): NAND: move board_nand_init to nand.h nand: fixup printf modifiers to match types used
Nishanth Menon (1): NAND: Enable nand lock, unlock feature
Schlaegl Manfred jun (1): nand read.jffs2 (nand_legacy) in common/cmd_nand.c
Stefan Roese (4): OneNAND: Fix compiler warnings OneNAND: Save version_id in onenand_chip struct OneNAND: Bad block aware read/write command support OneNAND: Additional sync with 2.6.27
Wolfgang Grandegger (1): NAND: rename NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS
common/cmd_nand.c | 107 ++-- common/cmd_onenand.c | 530 ++++++++++++++++----- doc/README.nand | 2 +- drivers/mtd/nand/nand.c | 2 - drivers/mtd/nand/nand_base.c | 2 +- drivers/mtd/nand/nand_util.c | 91 ++-- drivers/mtd/nand_legacy/nand_legacy.c | 2 +- drivers/mtd/onenand/onenand_base.c | 640 +++++++++++++++++++------ drivers/mtd/onenand/onenand_bbt.c | 8 +- drivers/mtd/onenand/onenand_uboot.c | 10 +- include/configs/ASH405.h | 1 - include/configs/CATcenter.h | 1 - include/configs/CMS700.h | 1 - include/configs/DU440.h | 1 - include/configs/G2000.h | 1 - include/configs/HH405.h | 1 - include/configs/HUB405.h | 1 - include/configs/IDS8247.h | 1 - include/configs/M5329EVB.h | 1 - include/configs/M5373EVB.h | 1 - include/configs/MPC8313ERDB.h | 1 - include/configs/MPC8315ERDB.h | 11 +- include/configs/MPC8360ERDK.h | 1 - include/configs/MPC837XEMDS.h | 1 - include/configs/MPC8536DS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/NC650.h | 1 - include/configs/NETPHONE.h | 1 - include/configs/NETTA.h | 1 - include/configs/NETTA2.h | 1 - include/configs/NETVIA.h | 1 - include/configs/PLU405.h | 1 - include/configs/PMC440.h | 1 - include/configs/PPChameleonEVB.h | 2 - include/configs/SXNI855T.h | 1 - include/configs/TQM8272.h | 1 - include/configs/TQM85xx.h | 1 - include/configs/VCMA9.h | 1 - include/configs/VOH405.h | 1 - include/configs/WUH405.h | 1 - include/configs/acadia.h | 1 - include/configs/afeb9260.h | 1 - include/configs/alpr.h | 1 - include/configs/at91cap9adk.h | 1 - include/configs/at91rm9200dk.h | 1 - include/configs/at91sam9260ek.h | 1 - include/configs/at91sam9261ek.h | 1 - include/configs/at91sam9263ek.h | 1 - include/configs/at91sam9rlek.h | 1 - include/configs/bamboo.h | 1 - include/configs/bf537-stamp.h | 1 - include/configs/canyonlands.h | 1 - include/configs/csb637.h | 1 - include/configs/davinci_dvevm.h | 1 - include/configs/davinci_schmoogie.h | 1 - include/configs/davinci_sffsdr.h | 1 - include/configs/davinci_sonata.h | 1 - include/configs/delta.h | 1 - include/configs/kilauea.h | 1 - include/configs/netstar.h | 1 - include/configs/omap2420h4.h | 1 - include/configs/pdnb3.h | 1 - include/configs/quad100hd.h | 1 - include/configs/sbc2410x.h | 1 - include/configs/sc3.h | 1 - include/configs/sequoia.h | 1 - include/configs/smdk6400.h | 1 - include/configs/socrates.h | 1 - include/configs/stxxtc.h | 1 - include/configs/zylonite.h | 1 - include/linux/mtd/bbm.h | 8 +- include/linux/mtd/nand.h | 9 - include/linux/mtd/nand_legacy.h | 5 + include/linux/mtd/onenand.h | 45 +- include/linux/mtd/onenand_regs.h | 1 + include/nand.h | 2 + include/onenand_uboot.h | 14 +- nand_spl/board/freescale/mpc8313erdb/Makefile | 6 +- nand_spl/nand_boot_fsl_elbc.c | 5 + 79 files changed, 1091 insertions(+), 469 deletions(-)

Dear Scott Wood,
In message 20090123170833.GA12920@ld0162-tx32.am.freescale.net you wrote:
The following changes since commit 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: Haavard Skinnemoen (1): Merge branch 'fixes'
are available in the git repository at:
git://git.denx.de/u-boot-nand-flash.git master
Dave Liu (2): mpc83xx: enable eLBC NAND support for MPC8315ERDB board NAND: Fix cache and memory inconsistency issue
Kyungmin Park (2): Sync with 2.6.27 Add markbad function
Mike Frysinger (2): NAND: move board_nand_init to nand.h nand: fixup printf modifiers to match types used
Nishanth Menon (1): NAND: Enable nand lock, unlock feature
Schlaegl Manfred jun (1): nand read.jffs2 (nand_legacy) in common/cmd_nand.c
Stefan Roese (4): OneNAND: Fix compiler warnings OneNAND: Save version_id in onenand_chip struct OneNAND: Bad block aware read/write command support OneNAND: Additional sync with 2.6.27
Wolfgang Grandegger (1): NAND: rename NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS
common/cmd_nand.c | 107 ++-- common/cmd_onenand.c | 530 ++++++++++++++++----- doc/README.nand | 2 +- drivers/mtd/nand/nand.c | 2 - drivers/mtd/nand/nand_base.c | 2 +- drivers/mtd/nand/nand_util.c | 91 ++-- drivers/mtd/nand_legacy/nand_legacy.c | 2 +- drivers/mtd/onenand/onenand_base.c | 640 +++++++++++++++++++------ drivers/mtd/onenand/onenand_bbt.c | 8 +- drivers/mtd/onenand/onenand_uboot.c | 10 +- include/configs/ASH405.h | 1 - include/configs/CATcenter.h | 1 - include/configs/CMS700.h | 1 - include/configs/DU440.h | 1 - include/configs/G2000.h | 1 - include/configs/HH405.h | 1 - include/configs/HUB405.h | 1 - include/configs/IDS8247.h | 1 - include/configs/M5329EVB.h | 1 - include/configs/M5373EVB.h | 1 - include/configs/MPC8313ERDB.h | 1 - include/configs/MPC8315ERDB.h | 11 +- include/configs/MPC8360ERDK.h | 1 - include/configs/MPC837XEMDS.h | 1 - include/configs/MPC8536DS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/NC650.h | 1 - include/configs/NETPHONE.h | 1 - include/configs/NETTA.h | 1 - include/configs/NETTA2.h | 1 - include/configs/NETVIA.h | 1 - include/configs/PLU405.h | 1 - include/configs/PMC440.h | 1 - include/configs/PPChameleonEVB.h | 2 - include/configs/SXNI855T.h | 1 - include/configs/TQM8272.h | 1 - include/configs/TQM85xx.h | 1 - include/configs/VCMA9.h | 1 - include/configs/VOH405.h | 1 - include/configs/WUH405.h | 1 - include/configs/acadia.h | 1 - include/configs/afeb9260.h | 1 - include/configs/alpr.h | 1 - include/configs/at91cap9adk.h | 1 - include/configs/at91rm9200dk.h | 1 - include/configs/at91sam9260ek.h | 1 - include/configs/at91sam9261ek.h | 1 - include/configs/at91sam9263ek.h | 1 - include/configs/at91sam9rlek.h | 1 - include/configs/bamboo.h | 1 - include/configs/bf537-stamp.h | 1 - include/configs/canyonlands.h | 1 - include/configs/csb637.h | 1 - include/configs/davinci_dvevm.h | 1 - include/configs/davinci_schmoogie.h | 1 - include/configs/davinci_sffsdr.h | 1 - include/configs/davinci_sonata.h | 1 - include/configs/delta.h | 1 - include/configs/kilauea.h | 1 - include/configs/netstar.h | 1 - include/configs/omap2420h4.h | 1 - include/configs/pdnb3.h | 1 - include/configs/quad100hd.h | 1 - include/configs/sbc2410x.h | 1 - include/configs/sc3.h | 1 - include/configs/sequoia.h | 1 - include/configs/smdk6400.h | 1 - include/configs/socrates.h | 1 - include/configs/stxxtc.h | 1 - include/configs/zylonite.h | 1 - include/linux/mtd/bbm.h | 8 +- include/linux/mtd/nand.h | 9 - include/linux/mtd/nand_legacy.h | 5 + include/linux/mtd/onenand.h | 45 +- include/linux/mtd/onenand_regs.h | 1 + include/nand.h | 2 + include/onenand_uboot.h | 14 +- nand_spl/board/freescale/mpc8313erdb/Makefile | 6 +- nand_spl/nand_boot_fsl_elbc.c | 5 + 79 files changed, 1091 insertions(+), 469 deletions(-)
Done, thanks.
Best regards,
Wolfgang Denk

Dear Scott & Dave,
In message 20090123170833.GA12920@ld0162-tx32.am.freescale.net you wrote:
The following changes since commit 4d0b54685c5c656023b826089ef8cc0ea1c5cd9e: Haavard Skinnemoen (1): Merge branch 'fixes'
are available in the git repository at:
git://git.denx.de/u-boot-nand-flash.git master
Dave Liu (2): mpc83xx: enable eLBC NAND support for MPC8315ERDB board NAND: Fix cache and memory inconsistency issue
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This commit (commit c70564e6b1bd08f) broke the SIMPC8313_LP board:
nand_boot_fsl_elbc.o: In function `nand_boot': nand_spl/board/sheldon/simpc8313/nand_boot_fsl_elbc.c:150: undefined reference to `flush_cache' make[1]: *** [/home/wd/git/u-boot/work/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2
Please fix.
Best regards,
Wolfgang Denk

Dave Liu (2): mpc83xx: enable eLBC NAND support for MPC8315ERDB board NAND: Fix cache and memory inconsistency issue
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This commit (commit c70564e6b1bd08f) broke the SIMPC8313_LP board:
nand_boot_fsl_elbc.o: In function `nand_boot': nand_spl/board/sheldon/simpc8313/nand_boot_fsl_elbc.c:150: undefined reference to `flush_cache' make[1]: *** [/home/wd/git/u-boot/work/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2
Please fix.
Hi Wolfgang,
Kim has fixed the issue in the patch. [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build
see the link http://lists.denx.de/pipermail/u-boot/2009-January/046223.html
Thanks, Dave

Dear Dave,
In message D7CCA83BB0796C49BC0BB53B6AB1208907B77C@zch01exm21.fsl.freescale.net you wrote:
nand_boot_fsl_elbc.o: In function `nand_boot': nand_spl/board/sheldon/simpc8313/nand_boot_fsl_elbc.c:150:=20 undefined reference to `flush_cache' make[1]: *** [/home/wd/git/u-boot/work/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2
Kim has fixed the issue in the patch. [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error = in simpc8313 build
Ah. Sorry I missed that. Thanks for the pointer.
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
Dear Dave,
In message D7CCA83BB0796C49BC0BB53B6AB1208907B77C@zch01exm21.fsl.freescale.net you wrote:
nand_boot_fsl_elbc.o: In function `nand_boot': nand_spl/board/sheldon/simpc8313/nand_boot_fsl_elbc.c:150:=20 undefined reference to `flush_cache' make[1]: *** [/home/wd/git/u-boot/work/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2
Kim has fixed the issue in the patch. [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error = in simpc8313 build
Ah. Sorry I missed that. Thanks for the pointer.
Plus, it should be noted that this board did not exist in the tree I sent a pull request against, so it's a merge conflict, not a commit breaking a board.
-Scott
participants (3)
-
Liu Dave
-
Scott Wood
-
Wolfgang Denk