diff options
-rw-r--r-- | src/lib/Kconfig | 6 | ||||
-rw-r--r-- | src/lib/Makefile.inc | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/Kconfig b/src/lib/Kconfig index 23647947a4..80efe75dc9 100644 --- a/src/lib/Kconfig +++ b/src/lib/Kconfig @@ -143,3 +143,9 @@ config DECOMPRESS_OFAST default y help Compile the decompressing function in -Ofast instead of standard -Os + +config PROBE_RAM + def_bool y if VENDOR_EMULATION + help + When enabled it will be possible to detect usable RAM using probe_ram + function. diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 0f4600813b..fd3f464ffd 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -83,7 +83,7 @@ verstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c verstage-$(CONFIG_GENERIC_UDELAY) += timer.c verstage-$(CONFIG_GENERIC_GPIO_LIB) += gpio.c -romstage-$(CONFIG_VENDOR_EMULATION) += ramdetect.c +romstage-$(CONFIG_PROBE_RAM) += ramdetect.c romstage-y += prog_loaders.c romstage-y += prog_ops.c romstage-y += memchr.c @@ -129,7 +129,7 @@ endif romstage-$(CONFIG_GENERIC_UDELAY) += timer.c -ramstage-$(CONFIG_VENDOR_EMULATION) += ramdetect.c +ramstage-$(CONFIG_PROBE_RAM) += ramdetect.c ramstage-y += prog_loaders.c ramstage-y += prog_ops.c ramstage-y += hardwaremain.c @@ -183,7 +183,7 @@ ramstage-y += cbmem_common.c ramstage-y += imd_cbmem.c ramstage-y += imd.c -postcar-$(CONFIG_VENDOR_EMULATION) += ramdetect.c +postcar-$(CONFIG_PROBE_RAM) += ramdetect.c postcar-y += cbmem_common.c postcar-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c postcar-y += imd_cbmem.c |