Skip to content
Snippets Groups Projects
  1. Mar 10, 2014
  2. Mar 08, 2014
  3. Mar 07, 2014
  4. Mar 05, 2014
  5. Mar 04, 2014
    • pekon gupta's avatar
      mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers/mtd/nand · 2eda892f
      pekon gupta authored
      
      omap_elm.h is a generic header used by OMAP ELM driver for all TI platfoms.
      Hence this file should be present in generic folder instead of architecture
      specific include folder.
      Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      2eda892f
    • pekon gupta's avatar
      mtd: nand: omap: move omap_gpmc.h from arch/arm/include/asm to drivers/mtd/nand · 6aff0509
      pekon gupta authored
      
      omap_gpmc.h is a generic header used by OMAP NAND driver for all TI platfoms.
      Hence this file should be present in generic folder instead of architecture
      specific include folder.
      Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      6aff0509
    • pekon gupta's avatar
      mtd: nand: omap: merge duplicate GPMC data from different arch-xx headers into common omap_gpmc.h · 51d192c4
      pekon gupta authored
      
      Each SoC platform (AM33xx, OMAP3, OMAP4, OMAP5) has its own copy of GPMC related
      defines and declarations scattered in SoC platform specific header files
      like include/asm/arch-xx/cpu.h
      However, GPMC hardware remains same across all platforms thus this patch merges
      GPMC data scattered across different arch-xx specific header files into single
      header file include/asm/arch/omap_gpmc.h
      
      Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      51d192c4
    • pekon gupta's avatar
      mtd: nand: omap: remove unused #defines from common omap_gpmc.h · a7e36fc9
      pekon gupta authored
      
      OMAP NAND driver can detect Page-size and OOB-size of NAND device from ONFI
      params or nand_id[] table. And based on that it defines ECC layout.
      This patch
      1) removes following board configs used for defining NAND ECC layout
      	- GPMC_NAND_ECC_LP_x16_LAYOUT (for large page x16 NAND)
      	- GPMC_NAND_ECC_LP_x8_LAYOUT  (for large page x8 NAND)
      	- GPMC_NAND_ECC_SP_x16_LAYOUT (for small page x16 NAND)
      	- GPMC_NAND_ECC_SP_x8_LAYOUT  (for small page x8 NAND)
      
      2) removes unused #defines in common omap_gpmc.h depending on above configs
      
      Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      a7e36fc9
    • pekon gupta's avatar
      mtd: nand: omap: remove redundant platform specific header: arch-xx/omap_gpmc.h · 50899183
      pekon gupta authored
      
      Currently there are two sets of omap_gpmc.h header files
      (a) arch/arm/include/asm/omap_gpmc.h
       common header file for all platforms, containing defines and declarations used
       by GPMC NAND driver.
      
      (b) arch/arm/include/asm/arch-xx/omap_gpmc.h
       SoC platform specific header file containing defines like ECC layout.
      
      This patch removes platform specific arch-xx/omap_gpmc.c because:
       - GPMC hardware engine is common for all SoC platforms hence only (a) is enough
       - ECC layout is now defined in omap_nand.c driver itself based on ecc-scheme
         selected. Hence all ECC layout declarations in (b) are redundant.
      
      Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5
      
      Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
      50899183
    • Tom Rini's avatar
      32907339
Loading