1. 21 10月, 2013 4 次提交
    • S
      ARM: imx: replace imx6q_restart() with mxc_restart() · 87a84b69
      Shawn Guo 提交于
      The imx6q_restart() works fine with normal reboot but will run into
      problem with emergency reboot like sysrq-b.  In that case, of_iomap()
      gets called from interrupt context and hence triggers the BUG_ON in
      __get_vm_area_node().
      
      Actually, since commit c1e31d12 (ARM: imx: create
      mxc_arch_reset_init_dt() for DT boot), imx6q/dl should try to use
      mxc_restart() by calling mxc_arch_reset_init_dt() beforehand, where
      things like of_iomap() can be done.
      
      The patch updates mxc_restart() a little bit to get it work for imx6q/dl
      and kill imx6q_restart() completely.
      Reported-by: NNathan Lynch <nathan_lynch@mentor.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      87a84b69
    • S
      ARM: imx6: report soc info via soc device · a2887546
      Shawn Guo 提交于
      The patch enables soc bus infrastructure and adds a function
      imx_soc_device_init() to report soc info via soc device interface for
      imx6qdl and imx6sl.  With the support, user space can get soc related
      info by looking at sysfs like below.
      
        $ cat /sys/devices/soc0/machine
        Freescale i.MX6 Quad SABRE Smart Device Board
        $ cat /sys/devices/soc0/family
        Freescale i.MX
        $ cat /sys/devices/soc0/soc_id
        i.MX6Q
        $ cat /sys/devices/soc0/revision
        1.2
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      a2887546
    • S
      ARM: imx: add a common function to initialize revision from anatop · f1c6f314
      Shawn Guo 提交于
      The patch creates a common function imx_init_revision_from_anatop() by
      merging imx6q_init_revision() and imx_anatop_get_digprog(), so that any
      SoC that encodes revision info in anatop can use it to initialize
      revision.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      f1c6f314
    • S
      ARM: imx6q: use common soc revision helpers · 3f75978b
      Shawn Guo 提交于
      It calls imx_set_soc_revision() to set up soc revision in
      imx6q_init_revision(), and replaces all the occurrences of
      imx6q_revision() with common helper imx_get_soc_revision().
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      3f75978b
  2. 30 9月, 2013 1 次提交
  3. 19 9月, 2013 1 次提交
  4. 22 8月, 2013 3 次提交
  5. 21 8月, 2013 1 次提交
  6. 16 8月, 2013 5 次提交
  7. 10 7月, 2013 1 次提交
  8. 17 6月, 2013 3 次提交
  9. 12 4月, 2013 4 次提交
  10. 01 4月, 2013 1 次提交
  11. 11 3月, 2013 1 次提交
  12. 10 2月, 2013 1 次提交
  13. 30 1月, 2013 2 次提交
  14. 29 1月, 2013 2 次提交
  15. 13 1月, 2013 2 次提交
  16. 25 12月, 2012 1 次提交
  17. 16 11月, 2012 1 次提交
  18. 02 11月, 2012 1 次提交
  19. 15 10月, 2012 3 次提交
  20. 17 9月, 2012 1 次提交
  21. 14 9月, 2012 1 次提交