cpu/x86/smm/smm.ld: Assert that CONFIG_MAX_CPUS <= 4
commit7ac4722a35714bb02286a0ae0b47abaf1a35219d
authorArthur Heymans <arthur@aheymans.xyz>
Sun, 9 Aug 2020 18:21:28 +0000 (9 20:21 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 9 Nov 2020 10:19:28 +0000 (9 10:19 +0000)
tree1fcfed52b888c5844a01f74b81231624f5020ff9
parenta69d2c10a906d18c9ce531c139fe6c8e37820c89
cpu/x86/smm/smm.ld: Assert that CONFIG_MAX_CPUS <= 4

The SMM_ASEG code only supports up to 4 CPUs, so assert this at
buildtime.

Change-Id: I8ec803cd1b76f17f4dccd5c573179d542d54c277
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44322
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/cpu/x86/smm/smm.ld