Attention is currently required from: Marc Jones, Patrick Rudolph, Jonathan Zhang, Johnny Lin, Rocky Phagura, Jingle Hsu, Angel Pons, Arthur Heymans, Morgan Jang, Kyösti Mälkki. Hello build bot (Jenkins), Marc Jones, Patrick Rudolph, Jonathan Zhang, Rocky Phagura, Jingle Hsu, Angel Pons, Arthur Heymans, Morgan Jang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/49460
to look at the new patch set (#11).
Change subject: cpu/x86/smm: Add smm_board_info for SMM that can be set from mainboard ......................................................................
cpu/x86/smm: Add smm_board_info for SMM that can be set from mainboard
This u32 smm_board_info is an optional per mainboard defined data that mainboard can set the value and pass to SMM. The reason is that getting certain data that requires searching from flash VPD or CMOS is not very ideal to be done in SMM.
One use case is that mainboard can pass SMM console log level via this variable and in SMM it can be referenced in get_console_loglevel() override function directly.
Tested=On OCP Delta Lake, verified SMM log level can be overridden.
Change-Id: I81722a4f1bf75ec942cc06e403ad702dfe938e71 Signed-off-by: Johnny Lin johnny_lin@wiwynn.com --- M src/cpu/x86/smm/smm_module_handler.c M src/cpu/x86/smm/smm_module_loader.c M src/cpu/x86/smm/smm_module_loaderv2.c M src/include/cpu/x86/smm.h 4 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/49460/11