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 3 次提交
  3. 17 10月, 2009 1 次提交
  4. 08 10月, 2009 1 次提交
  5. 05 10月, 2009 1 次提交
  6. 24 9月, 2009 1 次提交
    • J
      mtd: nand: fix htmldocs warnings · 58475fb9
      Jaswinder Singh Rajput 提交于
      Fixed following htmldocs warnings:
      
        DOCPROC Documentation/DocBook/mtdnand.xml
        Warning(drivers/mtd/nand/nand_base.c:769): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:785): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:824): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:947): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:996): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:1040): No description found for parameter 'page'
      Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      58475fb9
  7. 21 9月, 2009 1 次提交
  8. 20 9月, 2009 15 次提交
  9. 04 9月, 2009 4 次提交
  10. 29 8月, 2009 1 次提交
  11. 24 8月, 2009 1 次提交
  12. 09 7月, 2009 1 次提交
    • H
      [ARM] 5592/1: ep93xx: cleanup platform header includes · 583ddafe
      Hartley Sweeten 提交于
      arch/arm/mach-ep93xx/include/mach/hardware.h
        1. Properly name the include files so that they are loaded
           from the <mach/*> directory and not the local directory.
        2. Remove including the ts72xx.h header.  This header is not
           generic to the ep93xx platform.  It should only be included
           by the ts72xx specific files that require it.  The only
           two users in the tree are arch/arm/mach-ep93xx/ts72xx.c
           and drivers/mtd/nand/ts7250.c.
      
      arch/arm/mach-ep93xx/include/mach/ts72xx.h
        1. <linux/io.h> should already be included by any user of this
           header.  Doing the include here hides it from being needed
           by the calling source file.
      
      arch/arm/mach-ep93xx/core.c
        1. Remove unnecessary headers.  They were probably included
           originally due to cut-and-paste from other files.
        2. <linux/io.h> should be included not <mach/gpio.h>
      
      arch/arm/mach-ep93xx/adsphere.c
      arch/arm/mach-ep93xx/edb93xx.c
      arch/arm/mach-ep93xx/gesbc9312.c
      arch/arm/mach-ep93xx/micro9.c
      arch/arm/mach-ep93xx/ts72xx.c
        1. Remove unnecessary headers.
      
      arch/arm/mach-ep93xx/ts72xx.c
        1. Remove unnecessary headers.
        2. Add platform specific header <mach/ts72xx.h>.
      
      drivers/mtd/nand/ts7250.c
        1. <linux/io.h> should be included not <asm/io.h>.
        2. Add platform specific header <mach/ts72xx.h>.
      
      Cc: Ryan Mallon <ryan@bluewatersys.com>
      Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      583ddafe
  13. 28 6月, 2009 1 次提交
  14. 25 6月, 2009 1 次提交
  15. 13 6月, 2009 1 次提交
  16. 09 6月, 2009 1 次提交
  17. 08 6月, 2009 5 次提交