Skip to content
Snippets Groups Projects
  1. 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
  2. Jan 20, 2017
  3. Sep 23, 2016
  4. Sep 19, 2016
  5. Mar 14, 2016
  6. Jan 25, 2016
  7. Apr 19, 2015
  8. Jan 14, 2015
  9. Jun 23, 2014
    • Stephen Warren's avatar
      sandbox: restore ability to access host fs through standard commands · 4d907025
      Stephen Warren authored
      
      Commit 95fac6ab "sandbox: Use os functions to read host device tree"
      removed the ability for get_device_and_partition() to handle the "host"
      device type, and redirect accesses to it to the host filesystem. This
      broke some unit tests that use this feature. So, revert that change. The
      code added back by this patch is slightly different to pacify checkpatch.
      
      However, we're then left with "host" being both:
      - A pseudo device that accesses the hosts real filesystem.
      - An emulated block device, which accesses "sectors" inside a file stored
        on the host.
      
      In order to resolve this discrepancy, rename the pseudo device from host
      to hostfs, and adjust the unit-tests for this change.
      
      The "help sb" output is modified to reflect this rename, and state where
      the host and hostfs devices should be used.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Tested-by: default avatarJosh Wu <josh.wu@atmel.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
      4d907025
  10. Jan 09, 2014
  11. Oct 14, 2013
  12. Jul 24, 2013
  13. May 01, 2013
    • Simon Glass's avatar
      sandbox: fs: Add support for saving files to host filesystem · 7eb2c8d5
      Simon Glass authored
      
      This allows write of files from the host filesystem in sandbox. There is
      currently no concept of overwriting the file and removing its existing
      contents - all writing is done on top of what is there. This means that
      writing 10 bytes to the start of a 1KB file will only update those 10
      bytes, not truncate the file to 10 byte slong.
      
      If the file does not exist it is created.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      7eb2c8d5
  14. Mar 04, 2013
Loading