diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-09-07 14:26:09 +0200 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2020-09-23 09:00:47 +0000 |
commit | 87cc889e8b144b36555eff502f69ef296b99da92 (patch) | |
tree | 7bf87c03fe67b248ac2fe4990ab155d097732d4d /src/lib | |
parent | 83f0c699c773afe7a81831e1f980ded1e36fb821 (diff) |
treewide: rename GENERIC_SPD_BIN to HAVE_SPD_BIN_IN_CBFS
The name GENERIC_SPD_BIN doesn't reflect anymore what that config is
used for, so rename it to HAVE_SPD_BIN_IN_CBFS.
Change-Id: I4004c48da205949e05101039abd4cf32666787df
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45147
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Kconfig | 2 | ||||
-rw-r--r-- | src/lib/Makefile.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Kconfig b/src/lib/Kconfig index d91ec5875e..d6e7e51d5c 100644 --- a/src/lib/Kconfig +++ b/src/lib/Kconfig @@ -30,7 +30,7 @@ config FLATTENED_DEVICE_TREE Selected by features that require to parse and manipulate a flattened devicetree in ramstage. -config GENERIC_SPD_BIN +config HAVE_SPD_IN_CBFS bool help If enabled, add support for adding spd.hex files in cbfs as spd.bin diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 96dd06e215..6829578800 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -350,7 +350,7 @@ endif # CONFIG_RAMSTAGE_LIBHWBASE romstage-y += spd_bin.c -ifeq ($(CONFIG_GENERIC_SPD_BIN),y) +ifeq ($(CONFIG_HAVE_SPD_IN_CBFS),y) LIB_SPD_BIN = $(obj)/spd.bin LIB_SPD_DEPS = $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/spd/$(f).spd.hex) @@ -363,7 +363,7 @@ $(LIB_SPD_BIN): $(LIB_SPD_DEPS) done; \ done > $@ -cbfs-files-$(CONFIG_GENERIC_SPD_BIN) += spd.bin +cbfs-files-$(CONFIG_HAVE_SPD_IN_CBFS) += spd.bin spd.bin-file := $(LIB_SPD_BIN) spd.bin-type := spd endif |