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. 14 3月, 2013 1 次提交
  3. 25 12月, 2012 1 次提交
  4. 12 11月, 2012 1 次提交