1. 20 Aug, 2016 1 commit
    • Tom Rini's avatar
      cmd: Split 'bootz' and 'booti' out from 'bootm' · 5db28905
      Tom Rini authored
      The bootz and booti commands rely on common functionality that is found
      in common/bootm.c and common/bootm_os.c.  They do not however rely on
      the rest of cmd/bootm.c to be implemented so split them into their own
      files.  Have various Makefiles include the required infrastructure for
      CONFIG_CMD_BOOT[IZ] as well as CONFIG_CMD_BOOTM.  Move the declaration
      of 'images' over to common/bootm.c.
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: 's avatarTom Rini <trini@konsulko.com>
  2. 27 Jul, 2016 1 commit
  3. 15 Jul, 2016 9 commits
  4. 14 Jul, 2016 1 commit
    • Simon Glass's avatar
      sandbox: Don't exit when bootm completes · b9c771b0
      Simon Glass authored
      At present sandbox exits when the 'bootm' command completes, since it is not
      actually able to run the OS that is loaded. Normally 'bootm' failure is
      considered a fatal error in U-Boot.
      However this is annoying for tests, which may want to examine the state
      after a test is complete. In any case there is a 'reset' command which can
      be used to exit, if required.
      Change the behaviour to return normally from the 'bootm' command on sandbox.
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: 's avatarTeddy Reed <teddy.reed@gmail.com>
  5. 19 Jun, 2016 3 commits
    • Stephen Warren's avatar
      clk: convert API to match reset/mailbox style · 135aa950
      Stephen Warren authored
      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
      Signed-off-by: 's avatarStephen Warren <swarren@nvidia.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
    • Stephen Warren's avatar
      reset: implement a reset test · 4581b717
      Stephen Warren authored
      This adds a sandbox reset implementation (provider), a test client
      device, instantiates them both from Sandbox's DT, and adds a DM test
      that excercises everything.
      Signed-off-by: 's avatarStephen Warren <swarren@nvidia.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
    • mario.six@gdsys.cc's avatar
      sandbox: gpio: doc: Fix parameter documentation · 21047b31
      mario.six@gdsys.cc authored
      The documentation of parameters in arch/sandbox/include/asm/gpio.h is
      either missing or faulty.
      This patch corrects the documentation.
      Signed-off-by: 's avatarMario Six <mario.six@gdsys.cc>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
  6. 04 Jun, 2016 1 commit
  7. 27 May, 2016 2 commits
    • Stephen Warren's avatar
      mailbox: implement a sandbox test · 8961b524
      Stephen Warren authored
      This adds a sandbox mailbox implementation (provider), a test client
      device, instantiates them both from Sandbox's DT, and adds a DM test
      that excercises everything.
      Signed-off-by: 's avatarStephen Warren <swarren@nvidia.com>
      Acked-by: Simon Glass <sjg@chromium.org> # v1
    • Stephen Warren's avatar
      Rename reset to sysreset · 11636258
      Stephen Warren authored
      The current reset API implements a method to reset the entire system.
      In the near future, I'd like to introduce code that implements the device
      tree reset bindings; i.e. the equivalent of the Linux kernel's reset API.
      This controls resets to individual HW blocks or external chips with reset
      signals. It doesn't make sense to merge the two APIs into one since they
      have different semantic purposes. Resolve the naming conflict by renaming
      the existing reset API to sysreset instead, so the new reset API can be
      called just reset.
      Signed-off-by: 's avatarStephen Warren <swarren@nvidia.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
  8. 17 May, 2016 1 commit
  9. 18 Apr, 2016 1 commit
  10. 15 Apr, 2016 1 commit
  11. 01 Apr, 2016 1 commit
  12. 22 Mar, 2016 1 commit
  13. 08 Mar, 2016 1 commit
    • Tom Rini's avatar
      sandbox: Fix building with LLVM · 699946ae
      Tom Rini authored
      - The macro __BIGGEST_ALIGNMENT__ is gcc-specific.  If it is not defined
        we'll just assume 16.  This is correct for at least the common cases
        and LLVM does not provide an equivalent macro.
      - When linking U-Boot we're passing -T to the linker, and while gcc will
        just pass this along with LLVM we need to be specific.
      Cc: Simon Glass <sjg@chromium.org>
      Signed-off-by: 's avatarTom Rini <trini@konsulko.com>
      Reviewed-by: 's avatarSimon Glass <sjg@chromium.org>
  14. 21 Jan, 2016 2 commits
  15. 15 Jan, 2016 1 commit
  16. 12 Jan, 2016 1 commit
  17. 07 Jan, 2016 1 commit
  18. 01 Dec, 2015 1 commit
  19. 20 Nov, 2015 7 commits
  20. 10 Nov, 2015 1 commit
    • Tom Rini's avatar
      Various Makefiles: Add SPDX-License-Identifier tags · da58dec8
      Tom Rini authored
      After consulting with some of the SPDX team, the conclusion is that
      Makefiles are worth adding SPDX-License-Identifier tags too, and most of
      ours have one.  This adds tags to ones that lack them and converts a few
      that had full (or in one case, very partial) license blobs into the
      equivalent tag.
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Signed-off-by: 's avatarTom Rini <trini@konsulko.com>
  21. 05 Nov, 2015 1 commit
  22. 02 Nov, 2015 1 commit