15 Dec, 2019

1 commit


08 Oct, 2019

2 commits

  • Given these exported function an fsp_ prefix since they are declared in an
    fsp.h header.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng

    Simon Glass
     
  • Since there is now a new version of the FSP and it is incompatible with
    the existing version, move the code into an fsp1 directory. This will
    allow us to put FSP v2 code into an fsp2 directory.

    Add a Kconfig which defines which version is in use.

    Some of the code in this new fsp1/ directory is generic across both FSPv1
    and FSPv2. Future patches will address this.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng

    Simon Glass
     

09 Aug, 2019

2 commits

  • FSP (CONFIG_HAVE_FSP) and Slim Bootloader (CONFIG_SYS_SLIMBOOTLOADER)
    consume HOB (CONFIG_USE_HOB) data from the each HOB list pointer.
    Add a common HOB library in lib/hob.c and include/asm/hob.h.

    Signed-off-by: Aiden Park
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng

    Park, Aiden
     
  • Use existing EFI_GUID and efi_guid_t instead of struct efi_guid.
    This is pre-work before making a common HOB library.
    - Change 'struct efi_guid' to efi_guit_t
    - Remove 'struct efi_guid'
    - Define GUIDs with EFI_GUID() macro
    - Use guidcmp() instead of compare_guid()
    - Remove compare_guid()

    Signed-off-by: Aiden Park
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng

    Tested on MinnowMax
    Tested-by: Bin Meng

    Park, Aiden
     

23 Apr, 2019

1 commit

  • The 'exception' command allows to test exception handling.

    This implementation supports ARM, x86, RISC-V and the following exceptions:
    * 'breakpoint' - prefetch abort exception (ARM 32bit only)
    * 'unaligned' - data abort exception (ARM only)
    * 'undefined' - undefined instruction exception

    Signed-off-by: Heinrich Schuchardt

    Heinrich Schuchardt
     

09 Oct, 2018

1 commit

  • At present the mtrr functions disable the cache before making changes and
    enable it again afterwards. This is fine in U-Boot, but does not work if
    running in CAR (such as we are in SPL).

    Update the functions so that the caller can request that caches be left
    alone.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     

07 May, 2018

1 commit

  • 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: Tom Rini

    Tom Rini
     

08 Jan, 2018

1 commit