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. Apr 17, 2018
  3. Mar 21, 2018
  4. Jul 01, 2015
    • Alexey Brodkin's avatar
      arc: significant cache rework · ef639e6f
      Alexey Brodkin authored
      
      [1] Align cache management functions to those in Linux kernel. I.e.:
          a) Use the same functions for all cache ops (D$ Inv/Flush)
          b) Split cache ops in 3 sub-functions: "before", "lineloop" and
      "after". That way we may re-use "before" and "after" functions for
      region and full cache ops.
      
       [2] Implement full-functional L2 (SLC) management. Before SLC was
      simply disabled early on boot. It's also possible to enable or disable
      L2 cache from config utility.
      
       [3] Disable/enable corresponding caches early on boot. So if U-Boot is
      configured to use caches they will be used at all times (this is useful
      in partucular for speed-up of relocation).
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      ef639e6f
  5. Apr 03, 2015
    • Alexey Brodkin's avatar
      arc: clean-up init procedure · 3fb80163
      Alexey Brodkin authored
      
      Intention behind this work was elimination of as much assembly-written
      code as it is possible.
      
      In case of ARC we already have relocation fix-up implemented in C so why
      don't we use C for U-Boot copying, .bss zeroing etc.
      
      It turned out x86 uses pretty similar approach so we re-used parts of
      code in "board_f.c" initially implemented for x86.
      
      Now assembly usage during init is limited to stack- and frame-pointer
      setup before and after relocation.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Simon Glass <sjg@chromium.org>
      3fb80163
Loading