From d3c58fdc6436b2c4455b07fe764fcae471a65433 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 27 Oct 2019 07:13:55 +0100 Subject: soc/qualcomm: Link cbmem.c only in romstage Change-Id: I008fcca024fecf462c4b550b8dedbf4b06e491b8 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/36368 Reviewed-by: Nico Huber Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/soc/qualcomm/ipq806x/cbmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/qualcomm/ipq806x/cbmem.c') diff --git a/src/soc/qualcomm/ipq806x/cbmem.c b/src/soc/qualcomm/ipq806x/cbmem.c index 6dc92a0c11..32f303e81e 100644 --- a/src/soc/qualcomm/ipq806x/cbmem.c +++ b/src/soc/qualcomm/ipq806x/cbmem.c @@ -32,7 +32,7 @@ void *cbmem_top_chipset(void) * (e.g. vboot_locator for loading ipq blobs before DRAM is * initialized). */ - if (ENV_ROMSTAGE && (cbmem_backing_store_ready == 0)) + if (cbmem_backing_store_ready == 0) return NULL; return _memlayout_cbmem_top; -- cgit v1.2.3