coreboot/src/arch
Felix Held 1e78165cdc arch/x86/include/cpu: introduce CPU_TABLE_END CPU table terminator
Instead of having a magic entry in the CPU device ID table list to tell
find_cpu_driver that it has reached the end of the list, introduce and
use CPU_TABLE_END. Since the vendor entry in the CPU device ID struct is
compared against X86_VENDOR_INVALID which is 0, use X86_VENDOR_INVALID
instead of the 0 in the CPU_TABLE_END definition.

TEST=Timeless build for Mandolin results in identical image.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Suggested-by: Angel Pons <th3fanbus@gmail.com>
Change-Id: I0cae6d65b2265cf5ebf90fe1a9d885d0c489eb92
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72888
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
2023-02-09 16:54:11 +00:00
..
arm tree: Drop repeated words 2023-02-07 04:37:31 +00:00
arm64 arch/arm64/armv8/mmu.c: Add a space before the ternary operator 2023-02-08 02:03:11 +00:00
ppc64 src/arch/ppc64/*: pass FDT address to payload 2022-02-11 20:18:05 +00:00
riscv treewide: Remove repeated words 2023-02-09 10:04:04 +00:00
x86 arch/x86/include/cpu: introduce CPU_TABLE_END CPU table terminator 2023-02-09 16:54:11 +00:00