coreboot/src/cpu/intel/microcode
Patrick Rudolph 1e97b44e41 cpu/intel/microcode: Fix get_microcode_size
Ancient microcode update files do not have a total_size field.
Add support for such platforms and return 2048 in that case.

Change-Id: I952edc12cccf24f396d940bc594d8ef97826a253
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90910
Reviewed-by: Naresh <naresh.solanki.2011@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
2026-02-09 15:22:04 +00:00
..
Kconfig arch to cpu: Add SPDX license headers to Kconfig files 2024-02-18 01:58:52 +00:00
Makefile.mk cpu/intel/microcode: Add error handling if microcode directory is empty 2025-05-18 18:42:22 +00:00
microcode.c cpu/intel/microcode: Fix get_microcode_size 2026-02-09 15:22:04 +00:00
microcode_asm.S arch/x86: Move prologue to .init section 2021-01-07 11:02:03 +00:00