1. 20 1月, 2015 1 次提交
  2. 20 10月, 2014 1 次提交
  3. 12 5月, 2014 1 次提交
    • X
      ARM: prima2: rstc: fix some minor checkpatch issues · a2a25683
      Xianglong Du 提交于
      this patch fixes the below minor issues:
      
      WARNING: line over 80 characters
      39: FILE: arch/arm/mach-prima2/rstc.c:39:
      +                * Writing 1 to this bit resets corresponding block. Writing 0 to this
      
      WARNING: line over 80 characters
      41: FILE: arch/arm/mach-prima2/rstc.c:41:
      +                * datasheet doesn't require explicit delay between the set and clear
      
      WARNING: line over 80 characters
      44: FILE: arch/arm/mach-prima2/rstc.c:44:
      +               writel(readl(sirfsoc_rstc_base + (reset_bit / 32) * 4) | (1 << reset_bit),
      
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      46: FILE: arch/arm/mach-prima2/rstc.c:46:
      +               msleep(10);
      
      WARNING: line over 80 characters
      47: FILE: arch/arm/mach-prima2/rstc.c:47:
      +               writel(readl(sirfsoc_rstc_base + (reset_bit / 32) * 4) & ~(1 << reset_bit),
      
      WARNING: line over 80 characters
      52: FILE: arch/arm/mach-prima2/rstc.c:52:
      +                * Writing 1 to SET register resets corresponding block. Writing 1 to CLEAR
      
      WARNING: line over 80 characters
      54: FILE: arch/arm/mach-prima2/rstc.c:54:
      +                * datasheet doesn't require explicit delay between the set and clear
      
      WARNING: line over 80 characters
      57: FILE: arch/arm/mach-prima2/rstc.c:57:
      +               writel(1 << reset_bit, sirfsoc_rstc_base + (reset_bit / 32) * 8);
      
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      58: FILE: arch/arm/mach-prima2/rstc.c:58:
      +               msleep(10);
      
      WARNING: line over 80 characters
      59: FILE: arch/arm/mach-prima2/rstc.c:59:
      +               writel(1 << reset_bit, sirfsoc_rstc_base + (reset_bit / 32) * 8 + 4);
      
      total: 0 errors, 10 warnings, 120 lines checked
      Signed-off-by: NXianglong Du <Xianglong.Du@csr.com>
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      a2a25683
  4. 18 3月, 2014 1 次提交
    • A
      ARM: prima2: build reset code standalone · 48352e52
      Arnd Bergmann 提交于
      The prima2 platform code currently depends on the rstc
      implementation and that in turn depends on the reset
      controller framework. This removes the platform dependency
      by letting the driver access arm_pm_restart directly
      to turn the driver into a standalone entity, and also
      removes the dependency on the reset controller framework
      by using "if (IS_ENABLED(CONFIG_RESET_CONTROLLER))". This
      will cause all code that is used for the reset controller
      to be dropped by the compiler if the framework is disabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      48352e52
  5. 05 3月, 2014 1 次提交
  6. 10 7月, 2013 1 次提交
  7. 11 6月, 2013 1 次提交
    • H
      ARM: prima2: fix incorrect panic usage · 7e5955db
      Haojian Zhuang 提交于
      In prima2, some functions of checking DT is registered in initcall
      level. If it doesn't match the compatible name of sirf, kernel
      will panic. It blocks the usage of multiplatform on other verndor.
      
      The error message is in below.
      
      Knic - not syncing: unable to find compatible pwrc node in dtb
      CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc3-00006-gd7f26ea-dirty #86
      [<c0013adc>] (unwind_backtrace+0x0/0xf8) from [<c0011430>] (show_stack+0x10/0x1)
      [<c0011430>] (show_stack+0x10/0x14) from [<c026f724>] (panic+0x90/0x1e8)
      [<c026f724>] (panic+0x90/0x1e8) from [<c03267fc>] (sirfsoc_of_pwrc_init+0x24/0x)
      [<c03267fc>] (sirfsoc_of_pwrc_init+0x24/0x58) from [<c0320864>] (do_one_initcal)
      [<c0320864>] (do_one_initcall+0x90/0x150) from [<c0320a20>] (kernel_init_freeab)
      [<c0320a20>] (kernel_init_freeable+0xfc/0x1c4) from [<c026b9e8>] (kernel_init+0)
      [<c026b9e8>] (kernel_init+0x8/0xe4) from [<c000e158>] (ret_from_fork+0x14/0x3c)
      Signen-off-by: NHaojian Zhuang <haojian.zhuang@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      7e5955db
  8. 22 1月, 2013 1 次提交
  9. 05 1月, 2012 1 次提交
  10. 11 9月, 2011 1 次提交
  11. 09 7月, 2011 1 次提交