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