coreboot/src/soc
Subrata Banik 9c4d85d83a lib: Refactor bmp_load_logo() implementation
This refactoring ensures bmp_load_logo() takes logo_size as an
argument, returning a valid logo_ptr only if logo_size is non-zero.

This prevents potential errors from mismatched size assumption.

BUG=b:242829490
TEST=google/rex0 builds successfully.

Change-Id: I14bc54670a67980ec93bc366b274832d1f959e50
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81618
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2024-04-06 04:31:50 +00:00
..
amd lib: Refactor bmp_load_logo() implementation 2024-04-06 04:31:50 +00:00
cavium soc/cavium: Remove blank lines before '}' and after '{' 2024-03-30 07:45:25 +00:00
example/min86 soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
intel lib: Refactor bmp_load_logo() implementation 2024-04-06 04:31:50 +00:00
mediatek soc/mediatek: Remove blank lines before '}' and after '{' 2024-03-28 09:18:26 +00:00
nvidia soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
qualcomm soc/qualcomm: Remove blank lines before '}' and after '{' 2024-03-30 07:44:06 +00:00
rockchip soc/rockchip: Remove blank lines before '}' and after '{' 2024-03-30 07:43:42 +00:00
samsung soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
sifive tree: Remove duplicated <stdint.h> 2024-04-04 20:22:49 +00:00
ti soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00
ucb/riscv soc: Add SPDX license headers to Kconfig files 2024-02-18 02:03:37 +00:00