diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-07-13 10:11:44 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-08-13 16:35:18 +0000 |
commit | 38c99b56599d2b11d68c844e9f2adda9050b8efa (patch) | |
tree | de43b09f7bac0e010ac6c77f0bf7edfdc09ae981 /src/drivers/smmstore | |
parent | 8f7f4bf87a238dd046a376804b9e53162092f601 (diff) |
payloads/tianocore: Rename TianoCore to edk2
coreboot uses TianoCore interchangeably with EDK II, and whilst the
meaning is generally clear, it's not the payload it uses. EDK II is
commonly written as edk2.
coreboot builds edk2 directly from the edk2 repository. Whilst it
can build some components from edk2-platforms, the target is still
edk2.
[1] tianocore.org - "Welcome to TianoCore, the community supporting"
[2] tianocore.org - "EDK II is a modern, feature-rich, cross-platform
firmware development environment for the UEFI and UEFI Platform
Initialization (PI) specifications."
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I4de125d92ae38ff8dfd0c4c06806c2d2921945ab
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65820
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/smmstore')
-rw-r--r-- | src/drivers/smmstore/Kconfig | 4 | ||||
-rw-r--r-- | src/drivers/smmstore/store.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/smmstore/Kconfig b/src/drivers/smmstore/Kconfig index 93b3f00262..62aa3aaca8 100644 --- a/src/drivers/smmstore/Kconfig +++ b/src/drivers/smmstore/Kconfig @@ -3,13 +3,13 @@ config SMMSTORE bool "Support for flash based, SMM mediated data store" depends on BOOT_DEVICE_SUPPORTS_WRITES && HAVE_SMI_HANDLER - default y if PAYLOAD_TIANOCORE + default y if PAYLOAD_EDK2 select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP config SMMSTORE_V2 bool "Use version 2 of SMMSTORE API" depends on SMMSTORE - default y if PAYLOAD_TIANOCORE + default y if PAYLOAD_EDK2 default n help Version 2 of SMMSTORE allows secure communication with SMM and diff --git a/src/drivers/smmstore/store.c b/src/drivers/smmstore/store.c index 482a045abf..96cb761e40 100644 --- a/src/drivers/smmstore/store.c +++ b/src/drivers/smmstore/store.c @@ -311,7 +311,7 @@ int smmstore_get_info(struct smmstore_params_info *out) out->block_size = SMM_BLOCK_SIZE; out->num_blocks = region_device_sz(&store) / SMM_BLOCK_SIZE; - /* FIXME: Broken EDK2 always assumes memory mapped Firmware Block Volumes */ + /* FIXME: Broken edk2 always assumes memory mapped Firmware Block Volumes */ out->mmap_addr = (uintptr_t)rdev_mmap_full(&store); printk(BIOS_DEBUG, "smm store: %d # blocks with size 0x%x\n", |