1. 17 6月, 2013 2 次提交
    • S
      ARM: imx: create mxc_arch_reset_init_dt() for DT boot · c1e31d12
      Shawn Guo 提交于
      The mxc_arch_reset_init() uses static mapping and calls clk_get_sys() to
      get clock.  It's suitable for non-DT boot but not for DT boot where
      dynamic mapping and of_clk_get() should be used instead.  Create
      mxc_arch_reset_init_dt() as the DT variant of mxc_arch_reset_init(),
      and change DT platforms to use it.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      c1e31d12
    • S
      ARM: imx: move clk_prepare() out from mxc_restart() · 18cb680f
      Shawn Guo 提交于
      It's inappropriate to call clk_prepare() in mxc_restart(), because the
      restart routine could be called in atomic context.  Move clk_get() and
      clk_prepare() into mxc_arch_reset_init() and only have the atomic part
      clk_enable() be called in mxc_restart().
      
      As a result, mxc_arch_reset_init() needs to be called after clk gets
      initialized.
      
      While there, it also changes printk(KERN_ERR ...) to pr_err() and adds
      __init annotation for mxc_arch_reset_init().
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      18cb680f
  2. 15 10月, 2012 3 次提交
  3. 11 8月, 2012 1 次提交
  4. 29 3月, 2012 1 次提交
  5. 01 2月, 2012 1 次提交
  6. 05 1月, 2012 1 次提交
  7. 22 11月, 2011 1 次提交
    • A
      ARM: imx: export imx_ioremap · 807dfe70
      Arnd Bergmann 提交于
      The arch_ioremap function on i.MX is now an indirect function pointer.
      In order to use it from any loadable module, the pointer itself
      has to be exported.
      
      ERROR: "imx_ioremap" [drivers/video/tmiofb.ko] undefined!
      ERROR: "imx_ioremap" [drivers/usb/host/sl811-hcd.ko] undefined!
      ERROR: "imx_ioremap" [drivers/usb/host/r8a66597-hcd.ko] undefined!
      ERROR: "imx_ioremap" [drivers/usb/host/oxu210hp-hcd.ko] undefined!
      ERROR: "imx_ioremap" [drivers/usb/gadget/r8a66597-udc.ko] undefined!
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      807dfe70
  8. 21 11月, 2011 1 次提交
  9. 11 11月, 2011 1 次提交
    • S
      arm/imx: remove imx_idle hook and use pm_idle instead · 8c6d8319
      Shawn Guo 提交于
      The patch removes imx_idle hook and use pm_idle instead to get imx
      arch_idle prepared for the cleanup.  It's suggested by Russel King
      as below.
      
      > The final removal of mach/system.h depends on getting rid of the arch_idle
      > thing.  While going through these headers, I was dismayed to find these:
      >
      > arch/arm/mach-s3c2410/include/mach/system.h:void (*s3c24xx_idle)(void);
      > arch/arm/plat-mxc/include/mach/system.h:extern void (*imx_idle)(void);
      >
      > when we have a perfectly good pm_idle hook already in place - so there's
      > no excuse for these especially when other platforms are already using
      > pm_idle to hook their platform specific idle function into.  This is
      > something that better be gone at the next merge window!
      Suggested-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      8c6d8319
  10. 04 10月, 2011 2 次提交
  11. 19 5月, 2011 1 次提交
  12. 14 12月, 2010 1 次提交
  13. 24 11月, 2010 1 次提交
  14. 30 6月, 2010 1 次提交
  15. 14 8月, 2009 1 次提交
  16. 07 8月, 2009 1 次提交
  17. 27 3月, 2009 1 次提交
  18. 20 3月, 2009 1 次提交
    • R
      [ARM] pass reboot command line to arch_reset() · be093beb
      Russell King 提交于
      OMAP wishes to pass state to the boot loader upon reboot in order to
      instruct it whether to wait for USB-based reflashing or not.  There is
      already a facility to do this via the reboot() syscall, except we ignore
      the string passed to machine_restart().
      
      This patch fixes things to pass this string to arch_reset().  This means
      that we keep the reboot mode limited to telling the kernel _how_ to
      perform the reboot which should be independent of what we request the
      boot loader to do.
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      be093beb
  19. 07 8月, 2008 1 次提交
  20. 05 7月, 2008 1 次提交