1. 19 9月, 2012 1 次提交
    • A
      ARM: imx: use __iomem pointers for MMIO · f25d696a
      Arnd Bergmann 提交于
      ARM is moving to stricter checks on readl/write functions,
      so we need to use the correct types everywhere.
      
      This found a bug in mach-armadillo5x0.c, where we attempt mmio
      on the MXC_CCM_RCSR address that is currently defined to 0xc
      and consequently causes an illegal address access.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      f25d696a
  2. 01 7月, 2012 1 次提交
    • S
      ARM: imx: enable SPARSE_IRQ for imx platform · 8842a9e2
      Shawn Guo 提交于
      As all irqchips on imx have been changed to allocate their irq_descs,
      and all unneeded mach/irqs.h inclusions on imx have been cleaned up,
      now it's time to select SPARSE_IRQ for imx/mxc.
      
      The SPARSE_IRQ support forces irqs allocation starting from 16.  All
      those static irq number definition for SoCs need to shift 16 to keep
      non-DT boot works.
      
      With all those static IRQ number and start definitions removed from
      mach/irqs.h, the header becomes just a container of a couple of
      mach-imx specific irq/fiq calls.  Since mach/irqs.h is not included
      by asm/irq.h now, the users of mxc_set_irq_fiq needs to explicitly
      include mach/irqs.h themselves.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
      8842a9e2
  3. 18 10月, 2011 1 次提交
    • S
      arm/imx: remove mx31_setup_weimcs() from mx31.h · f16fcb63
      Shawn Guo 提交于
      The helper function mx31_setup_weimcs() references IOMEM() and
      IMX_IO_P2V() but without required header mach/hardware.h included
      in mx31.h.  This will break the build of those mx31 based board file
      with no direct inclusion of mach/hardware.h, or when indirect inclusion
      to mach/hardware.h breaks.
      
      For example, when the inclusion of mach/hardware.h gets removed from
      mach/gpio.h, we will see the following compile error.
      
        CC      arch/arm/mach-imx/mach-pcm037_eet.o
      In file included from arch/arm/mach-imx/devices-imx31.h:9:0,
                       from arch/arm/mach-imx/mach-pcm037_eet.c:20:
      arch/arm/plat-mxc/include/mach/mx31.h: In function ‘mx31_setup_weimcs’:
      arch/arm/plat-mxc/include/mach/mx31.h:129:2: error: implicit declaration of function ‘IOMEM’
      arch/arm/plat-mxc/include/mach/mx31.h:129:2: error: implicit declaration of function ‘IMX_IO_P2V’
      
      This patch removes mx31_setup_weimcs() from mx31.h and makes it local
      to mach-qong.c, which is the only user for this helper.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      f16fcb63
  4. 29 11月, 2010 1 次提交
  5. 20 11月, 2010 2 次提交
  6. 17 11月, 2010 3 次提交
  7. 22 10月, 2010 1 次提交
  8. 01 10月, 2010 1 次提交
  9. 27 9月, 2010 1 次提交
  10. 30 6月, 2010 1 次提交
  11. 08 1月, 2010 4 次提交
    • U
      imx: define functions to configure chip selects in the WEIM · a8dfb646
      Uwe Kleine-König 提交于
      This has the addional effect that the macros CSCR_U, CSCR_L and CSCR_A
      are not used anymore in mach-pcm038.c and mach-qong.c.  These still use
      the deprecated IO_ADDRESS macro and shouldn't be used in new code.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Holger Schurig <hs4233@mail.mn-solutions.de>
      Cc: Dmitriy Taychenachev <dimichxp@gmail.com>
      a8dfb646
    • U
      imx: properly protect mach/mx{1,[25][157x]}.h from multiple inclusion · 3cdd5441
      Uwe Kleine-König 提交于
      Some headers have used (now) wrong names or havn't had protection at
      all.  This is needed before adding static inline functions to the
      headers.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Magnus Lilja <lilja.magnus@gmail.com>
      Cc: Holger Schurig <hs4233@mail.mn-solutions.de>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Daniel Mack <daniel@caiaq.de>
      3cdd5441
    • U
      imx: only define deprecated symbols conditionally · aae70193
      Uwe Kleine-König 提交于
      Define deprecated symbols in an #ifdef IMX_NEEDS_DEPRECATED_SYMBOLS ...
      
      All files that still depend on the old definitions get
      -DIMX_NEEDS_DEPRECATED_SYMBOLS passed to the compiler.
      
      When all remaining users are fixed this allows including the soc
      specific headers unconditionally.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Eric Benard <eric@eukrea.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Alan Carvalho de Assis <acassis@gmail.com>
      Cc: Daniel Mack <daniel@caiaq.de>
      Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com>
      Cc: Ilya Yanok <yanok@emcraft.com>
      Cc: Holger Schurig <hs4233@mail.mn-solutions.de>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Magnus Lilja <lilja.magnus@gmail.com>
      aae70193
    • U
      imx31: define and use MX31_IO_ADDRESS · 1273e768
      Uwe Kleine-König 提交于
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Daniel Mack <daniel@caiaq.de>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Magnus Lilja <lilja.magnus@gmail.com>
      1273e768
  12. 18 11月, 2009 2 次提交
  13. 14 8月, 2009 1 次提交
  14. 13 3月, 2009 1 次提交
  15. 18 12月, 2008 3 次提交
  16. 09 9月, 2008 1 次提交
  17. 07 8月, 2008 1 次提交
  18. 05 7月, 2008 2 次提交
  19. 17 4月, 2008 1 次提交
  20. 22 7月, 2007 1 次提交