1. 12 11月, 2009 1 次提交
    • S
      mxc_nand: cleanup eccoob descriptions · 8c1fd89a
      Sascha Hauer 提交于
      The original Freescale driver used to have eccoob descriptions like
      this:
      
      static struct nand_ecclayout nand_hw_eccoob_8 = {
      	.eccbytes = 5,
      	.eccpos = {6, 7, 8, 9, 10},
      	.oobfree = {{0, 5}, {11, 5}}
      };
      
      static struct nand_ecclayout nand_hw_eccoob_16 = {
      	.eccbytes = 5,
      	.eccpos = {6, 7, 8, 9, 10},
      	.oobfree = {{0, 6}, {12, 4}}
      };
      
      The former was used for 8bit flashes and the latter for 16bit flashes.
      They honored the fact that the bad block marker on 8bit flashes is on byte 5
      while on 16bit flashes it is on byte 11.
      In the Kernel driver this was copied wrong and we ended up with two identical
      descriptions.
      
      Change it so that we have only one description which leaves byte 5 and byte
      11 unspecified so that it won't be used by others.
      
      Also, rename the descriptions to nand_hw_eccoob_smallpage and
      nand_hw_eccoob_largepage so that it can't be confused with Nand chip bus
      widths (what actually happened in this driver)
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      8c1fd89a
  2. 20 10月, 2009 1 次提交
  3. 17 10月, 2009 1 次提交
  4. 20 9月, 2009 1 次提交
  5. 06 6月, 2009 3 次提交
  6. 29 5月, 2009 1 次提交
  7. 26 5月, 2009 1 次提交
  8. 04 4月, 2009 1 次提交
  9. 13 3月, 2009 1 次提交
  10. 03 9月, 2008 1 次提交