diff options
author | Shelley Chen <shchen@google.com> | 2020-09-02 15:53:03 -0700 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2020-09-14 18:23:23 +0000 |
commit | 475978875da1799f48c56bbdd689031d25c1a154 (patch) | |
tree | 95691b37f111195cc56540e44b610daad5e81b7f /src/drivers/elog/Kconfig | |
parent | c3cc1584088ad68eb9765b2252087c3b27b167cf (diff) |
drivers/elog: Remove ELOG_PRERAM config
This change is being done for the following reasons:
1. The CONFIG_ELOG_PRERAM is unused.
2. We need to pull in elog.c into romstage because we are pulling the
mrc_cache_stash_data function into romstage.
3. Furquan says that we can rely on the linker to optimize out the
unused 4KiB buffer in the early stages of boot, which allows us to
get rid of the ELOG_PRERAM config.
BUG=b:117884485, b:150502246
BRANCH=None
TEST=./util/abuild/abuild -p none -t GOOGLE_NAMI -x -a -v
Change-Id: Id76cabc38e41e9bf79e1580a530c871a4ecef4ec
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45303
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/elog/Kconfig')
-rw-r--r-- | src/drivers/elog/Kconfig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/drivers/elog/Kconfig b/src/drivers/elog/Kconfig index bc25d1cebb..19b33318c4 100644 --- a/src/drivers/elog/Kconfig +++ b/src/drivers/elog/Kconfig @@ -23,12 +23,6 @@ config ELOG_CBMEM but it means that events added at runtime via the SMI handler will not be reflected in the CBMEM copy of the log. -config ELOG_PRERAM - bool - default n - help - This option will enable event logging from the preram stage. - config ELOG_GSMI depends on HAVE_SMI_HANDLER bool "SMI interface to write and clear event log" |