1. 06 7月, 2016 1 次提交
  2. 24 6月, 2016 1 次提交
  3. 21 6月, 2016 3 次提交
    • P
      memory: atmel-ebi: make it explicitly non-modular · 8a86a093
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      drivers/memory/Kconfig:config ATMEL_EBI
      drivers/memory/Kconfig: bool "Atmel EBI driver"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the few remaining modular references, so that when reading
      the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      8a86a093
    • P
      memory: atmel-sdramc: make it explicitly non-modular · 563b41c9
      Paul Gortmaker 提交于
      The Kconfig for this option is currently:
      
      config ATMEL_SDRAMC
              bool "Atmel (Multi-port DDR-)SDRAM Controller"
      
      ...meaning that it currently is not being built as a module by anyone.
      Lets remove the couple traces of modularity, so that when reading the
      driver there is no doubt it is builtin-only.
      
      Since module_init translates to device_initcall in the non-modular
      case, the init ordering remains unchanged with this commit.  An
      alternate init level might be worth considering at a later date.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      563b41c9
    • H
      memory/mediatek: add support for mt2701 · 3c8f4ad8
      Honghui Zhang 提交于
      Mediatek SMI has two generations of HW architecture, mt8173 uses the
      second generation of SMI HW while mt2701 uses the first generation
      HW of SMI.
      
      There's slight differences between the two generations, for generation 2,
      the register which control the iommu port access PA or IOVA is at each
      larb's register base. But for generation 1, the register is at smi ao
      base(smi always on register base).
      Besides that, the smi async clock should be prepared and enabled for SMI
      generation 1 HW to transform the smi clock into emi clock domain, but is
      not needed for SMI generation 2.
      
      This patch add SMI driver for mt2701 which use generation 1 SMI HW.
      Signed-off-by: NHonghui Zhang <honghui.zhang@mediatek.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      3c8f4ad8
  4. 20 6月, 2016 2 次提交
    • P
      memory: samsung: exynos-srom: make it explicitly non-modular · 58f388bc
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      memory/samsung/Kconfig:config EXYNOS_SROM
      memory/samsung/Kconfig: bool "Exynos SROM controller driver" if COMPILE_TEST
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We explicitly disallow a driver unbind, since that doesn't have a
      sensible use case anyway, and it allows us to drop the ".remove"
      code for non-modular drivers.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Pankaj Dubey <pankaj.dubey@samsung.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      58f388bc
    • B
      memory: samsung: endian fixes for IO · cbf73175
      Ben Dooks 提交于
      Use the relaxed versions of the IO accessors to avoid any issues
      if running in big endian.
      Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      cbf73175
  5. 17 6月, 2016 2 次提交
    • R
      memory: omap-gpmc: Move gpio functions out of #ifdef CONFIG_OF · 32dd625a
      Roger Quadros 提交于
      The gpio related functions were mistakenly built only if CONFIG_OF
      is defined. They are needed even otherwise and will cause build
      failures if CONFIG_OF is not defined. Move the gpio functions
      outside #ifdef CONFIG_OF.
      
      Fixes: d2d00862 ("memory: omap-gpmc: Support general purpose input for WAITPINs")
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      32dd625a
    • P
      memory: omap-gpmc: make it explicitly non-modular · caf21c61
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      drivers/memory/Kconfig:config OMAP_GPMC
      drivers/memory/Kconfig:  bool
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_init was not in use by this code, the init ordering
      remains unchanged with this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We don't replace module.h with init.h since the file already has that.
      
      Cc: Roger Quadros <rogerq@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: linux-omap@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      caf21c61
  6. 16 6月, 2016 1 次提交
    • O
      memory: omap-gpmc: Fix omap gpmc EXTRADELAY timing · 8f50b8e5
      Ocquidant, Sebastien 提交于
      In the omap gpmc driver it can be noticed that GPMC_CONFIG4_OEEXTRADELAY
      is overwritten by the WEEXTRADELAY value from the device tree and
      GPMC_CONFIG4_WEEXTRADELAY is not updated by the value from the device
      tree.
      
      As a consequence, the memory accesses cannot be configured properly when
      the extra delay are needed for OE and WE.
      
      Fix the update of GPMC_CONFIG4_WEEXTRADELAY with the value from the
      device tree file and prevents GPMC_CONFIG4_OEXTRADELAY
      being overwritten by the WEXTRADELAY value from the device tree.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NOcquidant, Sebastien <sebastienocquidant@eaton.com>
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      8f50b8e5
  7. 14 6月, 2016 3 次提交
  8. 02 6月, 2016 1 次提交
  9. 06 5月, 2016 1 次提交
  10. 02 5月, 2016 1 次提交
  11. 20 4月, 2016 2 次提交
  12. 18 4月, 2016 2 次提交
  13. 15 4月, 2016 9 次提交
  14. 25 2月, 2016 1 次提交
  15. 08 2月, 2016 1 次提交
  16. 02 2月, 2016 1 次提交
  17. 16 12月, 2015 1 次提交
    • L
      fsl-ifc: add missing include on ARM64 · c4aa1937
      Lijun Pan 提交于
      Need to include sched.h to fix the following compilation error
      if FSL_IFC is enabled on ARM64 machine.
      
      In file included from include/linux/mmzone.h:9:0,
                       from include/linux/gfp.h:5,
                       from include/linux/kmod.h:22,
                       from include/linux/module.h:13,
                       from drivers/memory/fsl_ifc.c:22:
      drivers/memory/fsl_ifc.c: In function ‘check_nand_stat’:
      include/linux/wait.h:165:35: error: ‘TASK_NORMAL’ undeclared (first use in this function)
       #define wake_up(x)   __wake_up(x, TASK_NORMAL, 1, NULL)
                                         ^
      drivers/memory/fsl_ifc.c:136:3: note: in expansion of macro ‘wake_up’
         wake_up(&ctrl->nand_wait);
         ^
      include/linux/wait.h:165:35: note: each undeclared identifier is reported only once for each function it appears in
       #define wake_up(x)   __wake_up(x, TASK_NORMAL, 1, NULL)
                                         ^
      drivers/memory/fsl_ifc.c:136:3: note: in expansion of macro ‘wake_up’
         wake_up(&ctrl->nand_wait);
         ^
      
      Analysis is as follows:
      I put some instrumental code and get the
      following .h files inclusion sequence:
      
      In file included from ./arch/arm64/include/asm/compat.h:25:0,
                       from ./arch/arm64/include/asm/stat.h:23,
                       from include/linux/stat.h:5,
                       from include/linux/module.h:10,
                       from drivers/memory/fsl_ifc.c:23:
      include/linux/sched.h:113:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘struct’
       struct sched_attr {
       ^
      
      CONFIG_COMPAT=y is enabled while 39 and 48 bit VA is selected.
      When 42 bit VA is selected, it does not enable CONFIG_COMPAT=y
      
      In ./arch/arm64/include/asm/stat.h:23, it has
      "#ifdef CONFIG_COMPAT"
      "#include <asm/compat.h>"
      "..."
      "#endif"
      
      Since ./arch/arm64/include/asm/stat.h does not
      include ./arch/arm64/include/asm/compat.h,
      then it will not include include/linux/sched.h
      Hence we have to manually add "#include <linux/sched.h>"
      in drivers/memory/fsl_ifc.c
      Signed-off-by: NLijun Pan <Lijun.Pan@freescale.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      c4aa1937
  18. 14 12月, 2015 1 次提交
  19. 13 10月, 2015 2 次提交
  20. 05 10月, 2015 2 次提交
  21. 30 9月, 2015 2 次提交
    • V
      memory: pl172: add ARM PrimeCell PL176 MPMC support · f6d77bee
      Vladimir Zapolskiy 提交于
      The change adds support of ARM PrimeCell PL176 MPMC.
      
      Static memory configuration of PL175 MPMC is very similar to one found
      on PL172 and PL175 controllers, so it is preferred to add its support
      into the existing driver. The difference is that PL176 supports up to
      10 slave ports (but only 4 of them may be connected to static memory
      devices), AHB master bus width cab be 64-bit wide, also NAND devices
      can be interfaced.
      
      Similar to PL175 contoller, PL176 has no write buffer enable control
      in static memory configuration register, the rest of static memory
      configuration bits (with exception of NAND) is the same.
      Signed-off-by: NVladimir Zapolskiy <vz@mleia.com>
      Signed-off-by: NJoachim Eastwood <manabian@gmail.com>
      f6d77bee
    • V
      memory: pl172: add ARM PrimeCell PL175 MPMC support · b794df56
      Vladimir Zapolskiy 提交于
      The change adds support of ARM PrimeCell PL175 MPMC, the controller is
      found on NXP LPC32xx SoC.
      
      PL175 MPMC is very similar to PL172 controller, so it is preferred to
      add its support into the existing driver.
      
      One of the differences between PL172 and PL175 is that the latter one
      supports up to 6 AHB ports, but still only 4 AHB ports can be assigned
      to a static memory device, also PL175 does not have write buffer
      enable control in static memory configuration register.
      Signed-off-by: NVladimir Zapolskiy <vz@mleia.com>
      Signed-off-by: NJoachim Eastwood <manabian@gmail.com>
      b794df56