1. 24 3月, 2017 4 次提交
    • V
      arc: use timer driver for ARC boards · 3daa7c7b
      Vlad Zakharov 提交于
      This commit replaces legacy timer code with usage of arc timer
      driver.
      
      It removes arch/arc/lib/time.c file and selects CONFIG_CLK,
      CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default.
      Therefore we remove CONFIG_CLK option from less common axs101 and
      axs103 defconfigs.
      
      Also it removes legacy CONFIG_SYS_TIMER_RATE config symbol from
      axs10x.h, tb100.h and nsim.h configs files as it is no longer required.
      Signed-off-by: NVlad Zakharov <vzakhar@synopsys.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      3daa7c7b
    • V
      arc: dts: separate single axs10x.dts file · 0c77092e
      Vlad Zakharov 提交于
      We want to use the same device tree blobs in both Linux and U-Boot for
      ARC boards.
      
      Earlier device tree sources in U-Boot were very simplified and hadn't been
      updated for quite a long period of time.
      
      So this commit is the first step on the road to unified device tree blobs.
      
      First of all we re-organize device tree sources for AXS10X boards.
      As AXS101 and AXS103 boards consist of AXS10X motherboard and AXC001 and
      AXC003 cpu tiles respectively we add corresponding device tree source
      files: axs10x_mb.dtsi for motherboard, axc001.dtsi and axc003.dtsi for
      cpu tiles and axs101.dts and axs103.dts to represent actual boards.
      
      Also we delete axs10x.dts as it is no longer used.
      
      One more important change - we add timer device to ARC skeleton device
      tree sources as both ARC700 and ARCHS cores contain such timer.
      We add core_clk nodes to abilis_tb100, nsim, axc001 and axc003 device tree
      sources as it is referenced via phandle from timer node in common
      skeleton.dtsi file.
      Signed-off-by: NVlad Zakharov <vzakhar@synopsys.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      0c77092e
    • V
      drivers: timer: Introduce ARC timer driver · ad9b5f77
      Vlad Zakharov 提交于
      This commit introduces timer driver for ARC.
      
      ARC timers are configured via ARC AUX registers so we use special
      functions to access timer control registers.
      
      This driver allows utilization of either timer0 or timer1
      depending on which one is available in real hardware. Essentially
      only existing timers should be mentioned in board's Device Tree
      description.
      Signed-off-by: NVlad Zakharov <vzakhar@synopsys.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      ad9b5f77
    • T
      Merge git://git.denx.de/u-boot-dm · d0ffda8e
      Tom Rini 提交于
      d0ffda8e
  2. 22 3月, 2017 5 次提交
  3. 21 3月, 2017 31 次提交