Skip to content
Snippets Groups Projects
  1. Dec 15, 2019
  2. Aug 19, 2019
  3. Jul 10, 2019
  4. Oct 09, 2018
    • Simon Glass's avatar
      sandbox: Remove the old memory file later · 1c5a81d8
      Simon Glass authored
      
      When debugging sandbox it is sometimes annoying that the memory file is
      deleted early on. If sandbox later crashes or we quit (using the
      debugger), it is not possible to run it again with the same state since
      the memory file is gone.
      
      Remove the old memory file when sandbox exits, instead. Also add debugging
      showing the memory filename.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      1c5a81d8
  5. Sep 23, 2018
    • Simon Glass's avatar
      sandbox: Enhance map_to_sysmem() to handle foreign pointers · 428aa0ca
      Simon Glass authored
      
      At present map_sysmem() maps an address into the sandbox RAM buffer,
      return a pointer, while map_to_sysmem() goes the other way.
      
      The mapping is currently just 1:1 since a case was not found where a more
      flexible mapping was needed. PCI does have a separate and more complex
      mapping, but uses its own mechanism.
      
      However this arrange cannot handle one important case, which is where a
      test declares a stack variable and passes a pointer to it into a U-Boot
      function which uses map_to_sysmem() to turn it into a address. Since the
      pointer is not inside emulated DRAM, this will fail.
      
      Add a mapping feature which can handle any such pointer, mapping it to a
      simple tag value which can be passed around in U-Boot as an address.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      428aa0ca
  6. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  7. Feb 14, 2018
  8. Jun 01, 2017
  9. May 27, 2016
    • 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: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      11636258
  10. Nov 20, 2015
  11. Jul 21, 2015
  12. May 15, 2015
  13. Feb 15, 2015
  14. Nov 23, 2014
  15. Mar 18, 2014
    • Simon Glass's avatar
      sandbox: Add options to clean up temporary files · ab839dc3
      Simon Glass authored
      
      When jumping from one sandbox U-Boot to another in sandbox, the RAM buffer
      is preserved in the jump by using a temporary file. Add an option to tell
      the receiving U-Boot to remove this file when it is no longer needed.
      
      Similarly the old U-Boot image is left behind in this case. We cannot delete
      it immediately since gdb cannot then find its debug symbols. Delete it just
      before exiting.
      
      Together these changes ensure that temporary files are removed both for
      memory and U-Boot.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      ab839dc3
  16. Jan 09, 2014
  17. Jul 24, 2013
  18. Mar 12, 2012
  19. Dec 21, 2010
  20. Oct 18, 2008
  21. Dec 27, 2007
  22. Sep 22, 2007
  23. May 13, 2007
  24. Jun 27, 2003
  25. Mar 27, 2003
  26. Dec 14, 2000
  27. Nov 12, 2000
Loading