10 Jan, 2012

2 commits


11 Sep, 2011

3 commits

  • Signed-off-by: Brian Norris
    Signed-off-by: Artem Bityutskiy

    Brian Norris
     
  • Start moving away from the MTD_DEBUG_LEVEL messages. The dynamic
    debugging feature is a generic kernel feature that provides more
    flexibility.

    (See Documentation/dynamic-debug-howto.txt)

    Also fix some punctuation, indentation, and capitalization that went
    along with the affected lines.

    Signed-off-by: Brian Norris
    Signed-off-by: Artem Bityutskiy

    Brian Norris
     
  • Therefor -> Therefore
    [Intern], [Internal] -> [INTERN]
    [REPLACABLE] -> [REPLACEABLE]
    syndrom, syndom -> syndrome
    ecc -> ECC
    buswith -> buswidth
    endianess -> endianness
    dont -> don't
    occures -> occurs
    independend -> independent
    wihin -> within
    erease -> erase
    blockes -> blocks
    ...

    Signed-off-by: Brian Norris
    Signed-off-by: Artem Bityutskiy

    Brian Norris
     

25 May, 2011

3 commits

  • This is a trivial patch which removes unnecessary assignment of chip->state
    in put_chip(). It's duplicated.

    Signed-off-by: Tadashi Abe
    Acked-by: Joakim Tjernlund
    Signed-off-by: David Woodhouse

    Tadashi Abe
     
  • cfi erase command hangs up when erase and read contention occurs.
    If read runs at the same address as erase operation, read issues
    Erase-Suspend via get_chip() and the erase goes into sleep in wait queue.
    But in this case, read operation exits by time-out without waking it up.

    I think the other variants (0001, 0020 and lpddr) have the same problem too.
    Tested and verified the patch only on CFI-0002 flash, though.

    Signed-off-by: Tadashi Abe
    Acked-by: Joakim Tjernlund
    Signed-off-by: David Woodhouse

    Tadashi Abe
     
  • This patch adds CFI 1.5 support for the new Spansion S29GL-S device family.
    For details, see the data sheet on the Spansion web site:
    http://www.spansion.com/Support/Datasheets/S29GL_128S_01GS_00_02_e.pdf

    Signed-off-by: Gernot Hoyler
    Acked-by: Guillaume LECERF
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Gernot Hoyler
     

31 Mar, 2011

1 commit


11 Mar, 2011

5 commits

  • Signed-off-by: Steffen Sledz
    Signed-off-by: David Woodhouse

    Steffen Sledz
     
  • When initializing mtd->writebufsize, we must take into account
    possible flash chip interleaving. Wrong writebufsize initialization
    caused UBIFS recovery issues resulting in unmountable UBIFS file
    system on NOR flash partitions.

    Signed-off-by: Anatolij Gustschin
    Acked-by: Guillaume LECERF
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Anatolij Gustschin
     
  • As inval_cache_and_wait_for_operation() drop and reclaim the lock
    to invalidate the cache, some other thread may suspend the operation
    before reaching the for(;;) loop. Therefore the loop must start with
    checking the chip->state before reading status from the chip.

    Signed-off-by: Joakim Tjernlund
    Acked-by: Michael Cashwell
    Acked-by: Stefan Bigler
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse
    Cc: stable@kernel.org

    Joakim Tjernlund
     
  • In the commit 08968041bef437ec363623cd3218c2b083537ada
    (mtd: cfi_cmdset_0002: make sector erase command variable)
    introdused a field sector_erase_cmd. In the same commit initialisation
    of cfi->sector_erase_cmd made in cfi_chip_setup()
    (file drivers/mtd/chips/cfi_probe.c), so the CFI chip has no problem:

    ...
    cfi->cfi_mode = CFI_MODE_CFI;
    cfi->sector_erase_cmd = CMD(0x30);
    ...

    But for the JEDEC chips this initialisation is not carried out,
    so the JEDEC chips have sector_erase_cmd == 0.

    This patch adds the missing initialisation.

    Signed-off-by: Antony Pavlov
    Acked-by: Guillaume LECERF
    Signed-off-by: David Woodhouse
    CC: stable@kernel.org

    Antony Pavlov
     
  • In the following commit, we'll need to use the CMD() macro in order to
    fix the initialisation of the sector_erase_cmd field. That requires the
    local variable to be called 'cfi', so change it first in a simple patch.

    Signed-off-by: Antony Pavlov
    Acked-by: Guillaume LECERF
    Signed-off-by: David Woodhouse
    CC: stable@kernel.org

    Antony Pavlov
     

06 Jan, 2011

3 commits


04 Dec, 2010

1 commit


30 Oct, 2010

1 commit


26 Oct, 2010

5 commits


25 Oct, 2010

2 commits

  • - remove disabled code (hasn't been touched since the beginning of git
    and should be reimplemented if really needed)
    - convert remaining c++-comments to plain c-style

    Signed-off-by: Wolfram Sang
    Acked-by: Guillaume LECERF
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Wolfram Sang
     
  • Remove the MTD!=n dependency since that is handled by drivers/mtd/Kconfig.
    Simplify the dependency checks for mtd/chips by using if/endif blocks. Remove
    all default n since that is the Kconfig default.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    H Hartley Sweeten
     

18 Oct, 2010

1 commit

  • The patch below updates broken web addresses in the kernel

    Signed-off-by: Justin P. Mattock
    Cc: Maciej W. Rozycki
    Cc: Geert Uytterhoeven
    Cc: Finn Thain
    Cc: Randy Dunlap
    Cc: Matt Turner
    Cc: Dimitry Torokhov
    Cc: Mike Frysinger
    Acked-by: Ben Pfaff
    Acked-by: Hans J. Koch
    Reviewed-by: Finn Thain
    Signed-off-by: Jiri Kosina

    Justin P. Mattock
     

09 Aug, 2010

1 commit


06 Aug, 2010

2 commits


04 Aug, 2010

1 commit


02 Aug, 2010

2 commits


20 May, 2010

2 commits


14 May, 2010

5 commits