1. 20 4月, 2016 1 次提交
    • R
      mtd: nand: add new enum for storing ECC algorithm · b0fcd8ab
      Rafał Miłecki 提交于
      Our nand_ecc_modes_t is already a bit abused by value NAND_ECC_SOFT_BCH.
      This enum should store ECC mode only and putting algorithm details there
      is a bad idea. It would result in too many values impossible to support
      in a sane way.
      
      To solve this problem let's add a new enum. We'll have to modify all
      drivers to set it properly but once it's done it'll be possible to drop
      NAND_ECC_SOFT_BCH. That will result in a cleaner design and more
      possibilities like setting ECC algorithm for hardware ECC mode.
      Signed-off-by: NRafał Miłecki <zajec5@gmail.com>
      Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      b0fcd8ab
  2. 13 4月, 2016 1 次提交
  3. 11 3月, 2016 1 次提交
    • A
      mtd: nand: don't select chip in nand_chip's block_bad op · 9f3e0429
      Archit Taneja 提交于
      One of the arguments passed to struct nand_chip's block_bad op is
      'getchip', which, if true, is supposed to get and select the nand device,
      and later unselect and release the device.
      
      This op is intended to be replaceable by drivers. The drivers shouldn't
      be responsible for selecting/unselecting chip. Like other ops, the chip
      should already be selected before the block_bad op is called.
      
      Remove the getchip argument from the block_bad op and
      nand_block_checkbad. Move the chip selection to nand_block_isbad, since it
      is the only caller to nand_block_checkbad which requires chip selection.
      
      Modify nand_block_bad (the default function for the op) such that it
      doesn't select the chip.
      
      Remove the getchip argument from the bad_block funcs in cafe_nand,
      diskonchip and docg4 drivers.
      Reviewed-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      Signed-off-by: NArchit Taneja <architt@codeaurora.org>
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      9f3e0429
  4. 08 3月, 2016 4 次提交
  5. 13 2月, 2016 1 次提交
  6. 27 1月, 2016 3 次提交
  7. 24 1月, 2016 1 次提交
  8. 23 1月, 2016 1 次提交
  9. 08 1月, 2016 1 次提交
  10. 07 1月, 2016 2 次提交
  11. 06 1月, 2016 1 次提交
  12. 19 12月, 2015 5 次提交
  13. 10 12月, 2015 3 次提交
  14. 09 12月, 2015 2 次提交
  15. 02 12月, 2015 2 次提交
  16. 01 12月, 2015 2 次提交
  17. 20 11月, 2015 3 次提交
  18. 13 11月, 2015 1 次提交
  19. 12 11月, 2015 4 次提交
  20. 14 10月, 2015 1 次提交