diff options
author | Subrata Banik <subratabanik@google.com> | 2024-04-01 12:30:08 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-04-06 04:32:01 +0000 |
commit | afe84274eef7e73c12e68a84db642ae96c248147 (patch) | |
tree | d5dd360bd6873bcd97dcca1477a759002ec66944 /tests/lib/coreboot_table-test.c | |
parent | 9c4d85d83af20b7e83ebcb577cd3566619abd545 (diff) |
drivers/intel/fsp2_0: Enhance portability with uintptr_t/size_t
Replace fixed-width integers for pointers and sizes with uintptr_t and
size_t, promoting portability across 32-bit and 64-bit architectures.
For FSP-API specific UPD assignments, rely on `efi_uintn_t` rather
fixed size datatype uint32_t/uint64_t.
BUG=b:242829490
TEST=Firmware splash screen visible on google/rex0 w/ both 32-bit and
64-bit compilation.
Change-Id: Iab5c612e0640441a2a10e77949416de2afdb8985
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81615
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
Diffstat (limited to 'tests/lib/coreboot_table-test.c')
0 files changed, 0 insertions, 0 deletions