1. 29 5月, 2008 3 次提交
    • D
      nand: Correct NAND erase percentage output · 9723bbb4
      Dirk Behme 提交于
      For NAND erase sizes smaller than one NAND erase block, erase
      percentage output becomes grater than 100% e.g.
      
      -- cut --
        > nand info
      Device 0: NAND 64MiB 1,8V 8-bit, sector size 16 KiB
        > nand erase 0x100000 0x2000
      NAND erase: device 0 offset 0x100000, size 0x2000
      Erasing at 0x100000 -- 200% complete.
      OK
        >
      -- cut --
      
      Correct this and give user a warning that more is erased than specified:
      
      -- cut --
        > nand erase 0x100000 0x2000
      NAND erase: device 0 offset 0x100000, size 0x2000
      Warning: Erase size 0x00002000 smaller than one erase block 0x00004000
                 Erasing 0x00004000 instead
      Erasing at 0x100000 -- 100% complete.
      OK
        >
      -- cut --
      Signed-off-by: NDirk Behme <dirk.behme@gmail.com>
      9723bbb4
    • S
      Cleanup nand_info[] declaration. · 5922db6c
      Stelian Pop 提交于
      The nand_info array is declared as extern in several .c files.
      Those days, nand.h contains a reference to the array, so there is
      no need to declare it elsewhere.
      Signed-off-by: NStelian Pop <stelian@popies.net>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      5922db6c
    • S
      NAND: Provide a sane default for NAND_MAX_CHIPS. · 135f0a74
      Scott Wood 提交于
      This allows the header to be included regardless of whether a board's
      config file provides NAND-related defininitions.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      135f0a74
  2. 27 5月, 2008 5 次提交
  3. 22 5月, 2008 3 次提交
  4. 21 5月, 2008 20 次提交
  5. 20 5月, 2008 2 次提交
  6. 19 5月, 2008 7 次提交