03 Jun, 2018

1 commit


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
     

06 Feb, 2017

1 commit


19 Oct, 2016

4 commits

  • We can pass SMBIOS easily as EFI configuration table to an EFI payload. This
    patch adds enablement for that case.

    While at it, we also enable SMBIOS generation for ARM systems, since they support
    EFI_LOADER.

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

    Alexander Graf
     
  • The type 4 table generation code is very x86 centric today. Refactor things
    out into the device model cpu class to allow the tables to get generated for
    other architectures as well.

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

    Alexander Graf
     
  • The SMBIOS generation code passes pointers as u32. That causes the compiler
    to warn on casts to pointers. This patch moves all address pointers to
    uintptr_t instead.

    Technically u32 would be enough for the current SMBIOS2 style tables, but
    we may want to extend the code to SMBIOS3 in the future which is 64bit
    address capable.

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

    Alexander Graf
     
  • We will need the SMBIOS generation function on ARM as well going forward,
    so let's move it into a non arch specific location.

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

    Alexander Graf