cpu/intel/smm: Don't make assumptions on TSEG_SIZE
commitcf2941aec237535ff76961646ad67b71f0a03a60
authorArthur Heymans <arthur@aheymans.xyz>
Mon, 6 Aug 2018 13:00:25 +0000 (6 15:00 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 24 Oct 2018 10:04:17 +0000 (24 10:04 +0000)
treea91f3823c402eebdc7dfe178cbcc3b0be65bc037
parente19d61b4e82779c4161a8433d58b2d5706f2d3e1
cpu/intel/smm: Don't make assumptions on TSEG_SIZE

Do not assume:
- TSEG is 8M
- IED_REGION_SIZE is set (not needed on older platforms).

Change-Id: I1aadc6f0459a8035864dcf02b0a07e00b284fe2a
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/27872
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/cpu/intel/smm/gen1/smmrelocate.c