1. 11 7月, 2017 2 次提交
  2. 11 5月, 2017 1 次提交
  3. 17 3月, 2017 2 次提交
  4. 08 2月, 2017 1 次提交
    • S
      dm: core: Replace of_offset with accessor · e160f7d4
      Simon Glass 提交于
      At present devices use a simple integer offset to record the device tree
      node associated with the device. In preparation for supporting a live
      device tree, which uses a node pointer instead, refactor existing code to
      access this field through an inline function.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      e160f7d4
  5. 31 10月, 2016 1 次提交
  6. 02 10月, 2016 1 次提交
    • X
      rockchip: rk3288: sdram: fix DDR address range · 2179a07c
      Xu Ziyuan 提交于
      The all current Rockchip SoCs supporting 4GB of ram have problems
      accessing the memory region 0xfe000000~0xff000000. Actually, some IP
      controller can't address to, so let's limit the available range.
      
      This patch fixes a bug which found in miniarm-rk3288-4GB board. The
      U-Boot was relocated to 0xfef72000, and .bss variants was also
      relocated, such as do_fat_read_at_block. Once eMMC controller transfer
      data to do_fat_read_at_block via DMA, DMAC can't access more than
      0xfe000000. So that DMAC didn't work sane.
      Signed-off-by: NZiyuan Xu <xzy.xu@rock-chips.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      Tested-by: NSimon Glass <sjg@chromium.org>
      2179a07c
  7. 26 7月, 2016 3 次提交
  8. 15 7月, 2016 2 次提交
  9. 20 6月, 2016 1 次提交
    • S
      clk: convert API to match reset/mailbox style · 135aa950
      Stephen Warren 提交于
      The following changes are made to the clock API:
      * The concept of "clocks" and "peripheral clocks" are unified; each clock
        provider now implements a single set of clocks. This provides a simpler
        conceptual interface to clients, and better aligns with device tree
        clock bindings.
      * Clocks are now identified with a single "struct clk", rather than
        requiring clients to store the clock provider device and clock identity
        values separately. For simple clock consumers, this isolates clients
        from internal details of the clock API.
      * clk.h is split so it only contains the client/consumer API, whereas
        clk-uclass.h contains the provider API. This aligns with the recently
        added reset and mailbox APIs.
      * clk_ops .of_xlate(), .request(), and .free() are added so providers
        can customize these operations if needed. This also aligns with the
        recently added reset and mailbox APIs.
      * clk_disable() is added.
      * All users of the current clock APIs are updated.
      * Sandbox clock tests are updated to exercise clock lookup via DT, and
        clock enable/disable.
      * rkclk_get_clk() is removed and replaced with standard APIs.
      
      Buildman shows no clock-related errors for any board for which buildman
      can download a toolchain.
      
      test/py passes for sandbox (which invokes the dm clk test amongst
      others).
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      135aa950
  10. 03 5月, 2016 1 次提交
  11. 15 3月, 2016 1 次提交
  12. 10 3月, 2016 1 次提交
  13. 22 1月, 2016 4 次提交
  14. 03 9月, 2015 1 次提交
    • S
      rockchip: rk3288: Add SDRAM init · 5ff093ab
      Simon Glass 提交于
      Add code to set up the SDRAM in SPL, ready for loading U-Boot. This uses
      device tree for configuration so should be able to support other RAM
      configurations. It may be possible to generalise the code to support other
      SoCs at some point.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      5ff093ab