1. 26 9月, 2006 5 次提交
  2. 23 9月, 2006 3 次提交
  3. 22 9月, 2006 14 次提交
  4. 18 9月, 2006 1 次提交
  5. 17 9月, 2006 1 次提交
  6. 16 9月, 2006 1 次提交
  7. 05 9月, 2006 1 次提交
  8. 28 8月, 2006 2 次提交
  9. 17 8月, 2006 2 次提交
  10. 15 8月, 2006 2 次提交
  11. 15 7月, 2006 5 次提交
    • A
      [MTD] Fixes of performance and stability issues in CFI driver. · 46a1652c
      Alexey Korolev 提交于
      Fix of performance and stability issues on Intel NOR chips. It fixes:
      
      1. Very low write performance on Sibley (perf tests demonstrated write
         performance less than 100Kb/sec when it should be over 400Kb/sec).
      
      2. Low erase performance. (perf tests on Sibleuy demonstrated erase
         performance 246Kb/sec when it should be over 300Kb/sec).
      
      3. Error on JFFS2 tests with CPU loading application when MTD returns
         "block erase error: (status timeout)" To fix the issue it does the
         following:
           1. Removes the timeout tuning from inval_cache_and_wait_for_operation.
           2. Waiting conditions in inval_cache_and_wait_for_operation now is
               based on timer resolution
              If timeout is lower than timer resolution then we do in cycle
      	  "Checking the status"
      	  udelay(1);
      	  cond_resched();
              If timeout is greater than timer resolution (probably erase
              operation) We do the following
      	  sleep for half of operation timeout and do in cycle the following
      	    "Checking the status"
      	    sleep for timer resolution
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NAlexey Korolev <akorolev@infradead.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      46a1652c
    • V
      block2mtd.c: Make kernel boot command line arguments work (try 4) · c4e7fb31
      Ville Herva 提交于
      Trying to pass kernel command line arguments to block2mtd at boot-time does
      not work currently. block2mtd_setup() is called so early that kmalloc()
      fails nevermind being able to do open_bdev_excl() (which requires rootfs to
      be mounted. This patch only saves the option string at the early boot stage,
      and parses them later when block2mtd_init() is called. If open_bdev_excl()
      fails, open_by_devnum(name_to_dev_t()) is tried instead, which makes it
      possible to initialize the driver before rootfs has been mounted. Also gets
      rid of the superfluous parse_name() that only checks if name is longer than
      80 chars and copies it to a string that is not kfreed.
      
      With this patch, I can boot statically compiled block2mtd, and mount jffs2
      as rootfs (without modules or initrd), with lilo config like this:
      
         root=/dev/mtdblock0
         append="rootfstype=jffs2 block2mtd.block2mtd=/dev/hdc2,65536"
      
      (Note that rootfstype=jffs2 is required, since the kernel only tries
      filesystems without "nodev" attribute by default, and jffs is "nodev").
      
      Compared to first version of this patch, this one does not copy the
      parameters to the global buffer if init has already been called, and the
      global array is marked as __initdata.
      
      Compared to the second version of this patch, module build is fixed.
      
      Compared to the third version of this patch, statically compiled block2mtd
      driver with no boot-time parameter no longer gives spurious error 'cannot
      open device ""'
      Signed-off-by: NVille Herva <vherva@vianova.fi>
      Acked-by: NJörn Engel <joern@wohnheim.fh-wedel.de>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      c4e7fb31
    • D
      [MTD NAND] Fix lookup error in nand_get_flash_type() · 9a909867
      David Woodhouse 提交于
      Spotted by liyu <liyu@ccoss.com.cn>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      9a909867
    • R
      remove #error on !PCI from pmc551.c · 9d05cd51
      Rolf Eike Beer 提交于
      PMC551 depends on PCI in Kconfig so there is no need to #error in code if PCI
      is not set.
      Signed-off-by: NRolf Eike Beer <eike-kernel@sf-tec.de>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      9d05cd51
    • R
      MTD: [NAND] Fix the sharpsl driver after breakage from a core conversion · 6a5a297c
      Richard Purdie 提交于
      The CNE bits are inverted on the device and writeb function is missing a
      NOT operation.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      6a5a297c
  12. 11 7月, 2006 1 次提交
  13. 05 7月, 2006 1 次提交
  14. 01 7月, 2006 1 次提交