aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Kconfig4
-rw-r--r--src/include/cbmem.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 061f63eee8..7846f9eeae 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -337,10 +337,6 @@ config NUM_THREADS
help
How many execution threads to cooperatively multitask with.
-config HIGH_SCRATCH_MEMORY_SIZE
- hex
- default 0x0
-
config HAVE_OPTION_TABLE
bool
default n
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index e88c2f71af..a4f4ad54b2 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -29,7 +29,7 @@
#endif
#if IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) && \
- IS_ENABLED(CONFIG_HIGH_SCRATCH_MEMORY_SIZE)
+ defined(CONFIG_HIGH_SCRATCH_MEMORY_SIZE)
#define HIGH_MEMORY_SCRATCH CONFIG_HIGH_SCRATCH_MEMORY_SIZE
#else
#define HIGH_MEMORY_SCRATCH 0