From 2644793ef486881f3af36bec69d5f9abf82123ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 11 Oct 2013 21:14:59 +0300 Subject: Have option of timestamps, CBMEM console and usbdebug for most boards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As boards without EARLY_CBMEM_INIT do not initialize CBMEM in romstage, and have no CAR migration, these features are available for ramstage only. Change-Id: Ic3f77ccdedd4e71ba693619c02c9b98b328a0882 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/3970 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/include/timestamp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/timestamp.h b/src/include/timestamp.h index edc0076c1c..9e780c3ecb 100644 --- a/src/include/timestamp.h +++ b/src/include/timestamp.h @@ -54,7 +54,7 @@ enum timestamp_id { TS_SELFBOOT_JUMP = 99, }; -#if CONFIG_COLLECT_TIMESTAMPS +#if CONFIG_COLLECT_TIMESTAMPS && (CONFIG_EARLY_CBMEM_INIT || !defined(__PRE_RAM__)) #include void timestamp_init(tsc_t base); void timestamp_add(enum timestamp_id id, tsc_t ts_time); -- cgit v1.2.3