07 Jul, 2012

14 commits


21 May, 2012

1 commit

  • * 'master' of git://git.denx.de/u-boot-nand-flash:
    NAND: Remove ONFI detection message to from bootup log
    driver/mtd:IFC: Fix possible memory leak
    driver/mtd: IFC NAND: Add support of ONFI NAND flash
    mtd, nand: move some printfs to debug output.
    nand_util: correct YAFFS image write function
    powerpc/85xx: fix NAND boot linker scripts for -fpic
    nand: extend .raw accesses to work on multiple pages

    Wolfgang Denk
     

19 May, 2012

5 commits

  • Without this patch, boot shows this messages upon NAND detection:

    NAND: ONFI flash detected
    ONFI param page 0 valid
    ONFI flash detected
    ONFI param page 0 valid
    128 MiB

    With this patch, its back to the U-Boot "standard":

    NAND: 128 MiB

    Tested on x600 (SPEAr600).

    Signed-off-by: Stefan Roese
    Cc: Amit Virdi
    Cc: Vipin Kumar
    Cc: Scott Wood
    Acked-by: Amit Virdi
    Signed-off-by: Scott Wood

    Stefan Roese
     
  • if priv->bank >= MAX_BANK, priv should be freed before returning ENODEV.

    Signed-off-by: Prabhakar Kushwaha
    Signed-off-by: Scott Wood

    Prabhakar Kushwaha
     
  • - Fix NAND_CMD_READID command for ONFI detect.
    - Add NAND_CMD_PARAM command to read the ONFI parameter page.

    Signed-off-by: Prabhakar Kushwaha
    Acked-by: Scott Wood
    Signed-off-by: Scott Wood

    Prabhakar Kushwaha
     
  • current U-Boot shows on startup (for example on the enbw_cmc
    board) the following printfs from the nand subsystem:

    Flash: 2 MiB
    NAND: Bad block table found at page 65472, version 0x01
    Bad block table found at page 65408, version 0x01
    nand_read_bbt: Bad block at 0x000002980000
    nand_read_bbt: Bad block at 0x000003240000
    128 MiB
    MMC: davinci: 0

    remove them to debug output, so it shows with this patch:

    Flash: 2 MiB
    NAND: 128 MiB
    MMC: davinci: 0

    Signed-off-by: Heiko Schocher
    Cc: Scott Wood
    Signed-off-by: Scott Wood

    Heiko Schocher
     
  • In function nand_write_skip_bad(),for YAFFS filesystem part,
    write_oob() will return 0 when success, so when rval equals 0,
    it should continue to write the next page, and no break.

    Signed-off-by: Wentao, Liu
    Acked-by: Lei Wen
    Signed-off-by: Scott Wood

    Liu, Wentao
     

15 May, 2012

1 commit


30 Apr, 2012

1 commit


21 Apr, 2012

1 commit

  • Fix gcc 4.6 build warnings:
    onenand_base.c: In function 'onenand_probe':
    onenand_base.c:2577:6: warning: variable 'maf_id' set but not used
    [-Wunused-but-set-variable]

    Signed-off-by: Wolfgang Denk
    Cc: Lukasz Majewski
    Cc: Kyungmin Park
    Tested-by: Lukasz Majewski

    Wolfgang Denk
     

17 Apr, 2012

1 commit

  • * 'master' of git://git.denx.de/u-boot-arm:
    ARM926EJS: Fix cache.c to comply with checkpatch.pl
    ARM926EJS: Make asm routines volatile in cache ops
    MX35: mx35pdk: wrong board revision
    ARM1136: MX35: Make asm routines volatile in cache ops
    ARM: add u-boot.imx as target for i.MX SOCs
    M28: Pull out CONFIG_APBH_DMA so it's always enabled
    DMA: Split the APBH DMA init into block and channel init
    imx: Return gpio_set_value in gpio_direction_output
    imx: Use GPIO_TO_PORT macro in the gpio driver instead of (gpio >> 5)
    imx: Add GPIO_TO_PORT macro in the mxc_gpio driver
    imx: Remove unneeded/repititive definitions from imx headers
    i.MX28: Allow coexistence of PIO and DMA mode for SD/MMC
    MX31: mx31pdk: drop enable_caches from board file
    i.MX28: Fix initial stack pointer position
    mx35: mx35pdk: fix when cache functions are linked
    mx35: flea3: fix when cache functions are linked
    ARM: 926ejs: use debug() for misaligned addresses
    ARM1136: add cache flush and invalidate operations
    mx6qsabrelite: Fix the serial console port
    mx6qsabrelite: Add boot switch setting information into the README
    i.MX6: mx6qsabrelite: add cache commands if cache is enabled
    i.MX6: implement enable_caches()
    i.MX6: define CACHELINE_SIZE
    MX53: DDR: Fix ZQHWCTRL field TZQ_CS
    mx28evk: Add a README file
    mx28: Split the README into a common part and a m28 specific part
    tricorder: Load kernel from ubifs
    tricorder: Add UBIFS
    cm-t35: fix Ethernet reset timing
    hawkboard: Add CONFIG_SPL_LIBGENERIC_SUPPORT
    BeagleBoard: Remove userbutton command and use gpio command instead
    OMAP: Move omap1510inn to Unmaintained / Orphaned

    Wolfgang Denk
     

16 Apr, 2012

1 commit

  • This fixes the issue where mxs_dma_init() was called either twice or never,
    without introducing any new init hooks.

    The idea is to allow each and every device using the APBH DMA block to
    configure and request only the channels it uses, instead of making it call init
    for all the channels as is now.

    The common DMA block init part, which only configures the block, is then called
    from CPUs arch_cpu_init() call.

    NOTE: This patch depends on:

    http://patchwork.ozlabs.org/patch/150957/

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel
    Cc: Fabio Estevam
    Tested-by: Fabio Estevam

    Marek Vasut
     

15 Apr, 2012

1 commit


04 Apr, 2012

2 commits


29 Mar, 2012

1 commit


28 Mar, 2012

1 commit

  • The following warnings are reported for boards using SOFT ECC.

    omap_gpmc.c:33:30: warning: 'hw_nand_oob' defined but not used
    omap_gpmc.c:78:13: warning: 'omap_hwecc_init' defined but not used
    omap_gpmc.c:116:12: warning: 'omap_correct_data' defined but not used
    omap_gpmc.c:182:12: warning: 'omap_calculate_ecc' defined but not used
    omap_gpmc.c:208:13: warning: 'omap_enable_hwecc' defined but not used

    Signed-off-by: Stefano Babic
    Cc: Tom Rini
    Cc: Scott Wood

    Stefano Babic
     

21 Mar, 2012

1 commit


29 Feb, 2012

4 commits

  • Freescale IFC NAND Machine calculates ECC on 512byte sector and same is used in
    fsl_ifc_run_command() during ECC status verification. Also this sector is passed
    to is_blank() for blank checking. It is wrong at first place because
    is_blank()'s implementation checks for Page size and OOB area size.
    is_blank() should be called per page for main and OOB area verification.

    Variables name are redefined to avoid confusion between buffer and ecc sector.

    Signed-off-by: Poonam Aggrwal
    Signed-off-by: Prabhakar Kushwaha
    Signed-off-by: Scott Wood

    Prabhakar Kushwaha
     
  • 1) OOB area should be updated irrespective of NAND page size. Earlier it was
    updated only for 512byte NAND page.

    2) During OOB update fbcr should be equal to OOB size.

    Signed-off-by: Poonam Aggrwal
    Signed-off-by: Prabhakar Kushwaha
    Signed-off-by: Scott Wood

    Prabhakar Kushwaha
     
  • commit 2a8e0fc8b3dc31a3c571e439fbf04b882c8986be ("nand: Merge changes
    from Linux nand driver") accidentally reverted commit
    13f0fd94e3cae6f8a0d9fba5d367e311edc8ebde ("NAND: Scan bad blocks
    lazily.").

    Reinstate the change, as amended by commit
    ff49ea8977b56916edd5b1766d9939010e30b181 ("NAND: Mark the BBT as scanned
    prior to calling scan_bbt.").

    Signed-off-by: Scott Wood

    Scott Wood
     
  • This reverts commit 4fee6c2f295f932b8febdc7ce8731ba045695fa5.

    It breaks boards that currently rely on soft-ecc, as pointed out here:
    http://patchwork.ozlabs.org/patch/140872/

    The reverted patch should be resubmitted with documentation, and with the
    CONFIG_MTD_ECC_SOFT selected from every board that needs it. We could
    start by looking at what NAND driver the board selects, and whether
    that driver ever asks for soft ECC.

    Signed-off-by: Scott Wood

    Scott Wood
     

14 Feb, 2012

1 commit


13 Feb, 2012

3 commits


12 Feb, 2012

1 commit