]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
Merge branch 'omap-for-v3.8/cleanup-headers-gpmc' into omap-for-v3.8/cleanup-headers
authorTony Lindgren <tony@atomide.com>
Wed, 17 Oct 2012 18:07:18 +0000 (11:07 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 17 Oct 2012 18:07:18 +0000 (11:07 -0700)
Conflicts:
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/board-rx51.c
arch/arm/mach-omap2/pm34xx.c
drivers/mtd/nand/omap2.c
drivers/mtd/onenand/omap2.c

1  2 
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/board-rx51.c
arch/arm/mach-omap2/pm34xx.c
drivers/mtd/nand/omap2.c
drivers/mtd/onenand/omap2.c

index 2abbd6a9857a2430d5c1389aa4f7a48c52dc1ba9,5ad0901fddb4283b9fc71988c7af49b5b797a519..3e8725b731618991a70a40eee14a2fc2a6e26839
  
  #include <plat/usb.h>
  #include "common.h"
 -#include <plat/dma.h>
 -#include "gpmc.h"
 +#include <plat-omap/dma-omap.h>
- #include <plat/gpmc.h>
  #include <video/omapdss.h>
  #include <video/omap-panel-tfp410.h>
  
++#include "gpmc.h"
  #include "gpmc-smc91x.h"
  
  #include "board-flash.h"
index b3bab62fd5edf5d942b902fa0cbd30df9607340f,65ebf58e66e254983ceb1d7b8e7583944bd1d50c..366ebd93ae2411e34cd30a6ef5c05ae894a6d288
@@@ -32,8 -32,7 +32,7 @@@
  #include <asm/mach/map.h>
  
  #include <plat/menelaus.h>
 -#include <plat/dma.h>
 +#include <plat-omap/dma-omap.h>
- #include <plat/gpmc.h>
  #include "debug-devices.h"
  
  #include <video/omapdss.h>
index 38b3f6389d5b51101da00a8e99dc18c0ca7c54fc,42b6056decaead849efc89d93802ad4a99016ace..c2eed847c05b7d11484a2fab4f5a092b8831ebef
@@@ -31,8 -31,8 +31,7 @@@
  #include <asm/system_info.h>
  
  #include "common.h"
 -#include <plat/dma.h>
 -#include "gpmc.h"
 +#include <plat-omap/dma-omap.h>
- #include <plat/gpmc.h>
  #include <plat/omap-pm.h>
  #include "gpmc-smc91x.h"
  
@@@ -54,6 -54,7 +53,8 @@@
  #include "mux.h"
  #include "hsmmc.h"
  #include "common-board-devices.h"
++#include "gpmc.h"
+ #include "gpmc-onenand.h"
  
  #define SYSTEM_REV_B_USES_VAUX3       0x1699
  #define SYSTEM_REV_S_USES_VAUX3 0x8
index 3b1c03e1c74105f14c26bd073f89a26e623448ba,88ba5be475b73b927363e33a13c008b95e5ef688..63b33c63bd94c418a1304175f602c4ba37cadd5b
  #include <asm/mach/arch.h>
  #include <asm/mach/map.h>
  
--#include "common.h"
 -#include <plat/dma.h>
 -#include "gpmc.h"
 +#include <plat-omap/dma-omap.h>
- #include <plat/gpmc.h>
  #include <plat/usb.h>
  
++#include "common.h"
  #include "mux.h"
++#include "gpmc.h"
  #include "pm.h"
  #include "sdram-nokia.h"
  
index baee8722b477a0323d7a135d368f1d670aebf969,ed98f4f9e667b03b6fe55d77d418bb5cf30ca564..001eff290cdb33b2f19c0f77d45500e0cda8cd45
  #include "powerdomain.h"
  #include <plat/sdrc.h>
  #include <plat/prcm.h>
- #include <plat/gpmc.h>
 -#include "gpmc.h"
 -#include <plat/dma.h>
 +#include <plat-omap/dma-omap.h>
  
  #include "common.h"
  #include "cm2xxx_3xxx.h"
  #include "cm-regbits-34xx.h"
++#include "gpmc.h"
  #include "prm-regbits-34xx.h"
  
  #include "prm2xxx_3xxx.h"
index 2cbdb8e17c74536238bdc345703cb07314145dde,3282b151aa038a3c8d42b528b09055b32b70f622..5c8978e90240904b2e4642fcc9c8520a838b42da
@@@ -27,8 -27,7 +27,7 @@@
  #include <linux/bch.h>
  #endif
  
 -#include <plat/dma.h>
 +#include <plat-omap/dma-omap.h>
- #include <plat/gpmc.h>
  #include <linux/platform_data/mtd-nand-omap2.h>
  
  #define       DRIVER_NAME     "omap2-nand"
  #define       ECC1RESULTSIZE                  0x1
  #define       ECCCLEAR                        0x100
  #define       ECC1                            0x1
+ #define       PREFETCH_FIFOTHRESHOLD_MAX      0x40
+ #define       PREFETCH_FIFOTHRESHOLD(val)     ((val) << 8)
+ #define       PREFETCH_STATUS_COUNT(val)      (val & 0x00003fff)
+ #define       PREFETCH_STATUS_FIFO_CNT(val)   ((val >> 24) & 0x7F)
+ #define       STATUS_BUFF_EMPTY               0x00000001
  
 +#define OMAP24XX_DMA_GPMC             4
 +
  /* oob info generated runtime depending on ecc algorithm and layout selected */
  static struct nand_ecclayout omap_oobinfo;
  /* Define some generic bad / good block scan pattern which are used
index b846eafa2f09da2be12613f5eef3d2766db0206c,959f465a0aa1c2610fd929cc644e9241992620da..53069aef1f489f76579741a30d781a13752ab491
@@@ -41,9 -41,7 +41,7 @@@
  #include <linux/platform_data/mtd-onenand-omap2.h>
  #include <asm/gpio.h>
  
 -#include <plat/dma.h>
 +#include <plat-omap/dma-omap.h>
- #include <plat/cpu.h>
  
  #define DRIVER_NAME "omap2-onenand"