1. 01 8月, 2008 3 次提交
    • A
      [MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h · fc1f397b
      Andrew Morton 提交于
      drivers/mtd/nand/nandsim.c: In function 'divide':
      drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div'
      
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      fc1f397b
    • D
      [JFFS2] Fix allocation of summary buffer · b7600dba
      David Woodhouse 提交于
      We can't use vmalloc for the buffer we use for writing summaries,
      because some drivers may want to DMA from it. So limit the size to 64KiB
      and use kmalloc for it instead.
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      b7600dba
    • P
      Fix rename of at91_nand -> atmel_nand · f6ed6f78
      Pieter du Preez 提交于
      Structs called at91_nand_data where renamed to atmel_nand_data
      and configs called *MTD_NAND_AT91* where renamed to
      *MTD_NAND_ATMEL*. This was unfortunately not done consistently,
      causing NAND chips not being initialised on several ARM boards.
      
      I am aware that the author of the original change did not rename
      MTD_NAND_AT91_BUSWIDTH to MTD_NAND_ATMEL_BUSWIDTH, for example.
      All *MTD_NAND_AT91* where renamed to *MTD_NAND_ATMEL* in order
      to keep naming consistency.
      
      This patch was only tested on a MACH_SAM9_L9260, as this is the
      only ARM board I have to my disposal.
      
      Before this patch:
      
      $ git-ls-files |xargs grep atmel_nand |wc -l
      105
      $ git-ls-files |xargs grep at91_nand |wc -l
      4
      $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
      8
      $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
      47
      
      After this patch:
      
      $ git-ls-files |xargs grep atmel_nand |wc -l
      109
      $ git-ls-files |xargs grep at91_nand |wc -l
      0
      $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
      55
      $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
      0
      Signed-off-by: NPieter du Preez <pdupreez@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      f6ed6f78
  2. 31 7月, 2008 1 次提交
  3. 30 7月, 2008 5 次提交
  4. 29 7月, 2008 31 次提交