From f6940886f9aa9133c0fa4e1599c257b1a67be376 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Thu, 14 Mar 2019 23:47:33 +0200 Subject: mb/*/chromeos.c: Be explicit about code for ramstage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Motivation is to reduce use of !__PRE_RAM__, it does not mean ENV_RAMSTAGE but we also exclude ENV_SMM with the change. Change-Id: I1f96bb8c055a3da63274e1ab7f7d4bc70867cbf1 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/31930 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/mainboard/intel/emeraldlake2/chromeos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/intel/emeraldlake2') diff --git a/src/mainboard/intel/emeraldlake2/chromeos.c b/src/mainboard/intel/emeraldlake2/chromeos.c index 24f887598f..8c0aeea4d1 100644 --- a/src/mainboard/intel/emeraldlake2/chromeos.c +++ b/src/mainboard/intel/emeraldlake2/chromeos.c @@ -23,7 +23,7 @@ #include #include -#ifndef __PRE_RAM__ +#if ENV_RAMSTAGE #include #define GPIO_COUNT 6 -- cgit v1.2.3