diff options
author | Maulik V Vaghela <maulik.v.vaghela@intel.com> | 2020-01-12 00:50:57 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-01-18 10:57:59 +0000 |
commit | a6d7c00f1df9b19e73e44c97b6eb49ae1dc754ea (patch) | |
tree | 966c250b30ef8c1b29ebb8b8126e28ba03181660 /src/superio/aspeed | |
parent | 3c015a06b7397a1f5598cbbb91e562b5d1c96a80 (diff) |
arch/x86/post.c: Hide cmos_post_code from SMM context
Code in SMM segment using cmos_post_code will give compiler error since
cmos_post_code function is not getting compiled during SMM stage.
Also as per patch discussion, CMOS uses a split IO transaction and it's not
really safe to call cmos_post_code from SMM context. Thus we'll hide the
call for SMM context.
Change-Id: Iffdcccaad48e7ad96e068d07046630fbe4297e65
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38370
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/aspeed')
0 files changed, 0 insertions, 0 deletions