diff options
author | Benjamin Doron <benjamin.doron00@gmail.com> | 2023-04-09 19:58:05 +0000 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-04-14 09:41:53 +0000 |
commit | f43132e20cb746376b316185e9800a98ea4ffa20 (patch) | |
tree | 0ae90f2d77f228962bbb320b5ce44bc8b3558e2f /src/superio/nuvoton/nct6791d/nct6791d.h | |
parent | 199ccf81ddad800fab6ea81fab1e1fce52746552 (diff) |
drivers/efi: Fix linker error when SMM phase uses option API
For security reasons, removing the efivars implementation of the option
API was considered. However, this use-case is not the "None"
option-backend (CONFIG_OPTION_BACKEND_NONE), so the SMM phase also does
not use the no-op in option.h. This causes linker errors when the
option API is called.
For example, src/soc/intel/common/block/pmc/pmclib.c and
src/console/init.c use `get_uint_option`.
Minimising code in SMM can be implemented as a follow-up.
Change-Id: Ief3b52965d8fde141c12266a716f254dd45559d5
Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73905
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/superio/nuvoton/nct6791d/nct6791d.h')
0 files changed, 0 insertions, 0 deletions