summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-05-13 12:49:16 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-05-14 06:56:59 +0000
commit55cb5f8de53366c9df10ed9307cc9088c96191cf (patch)
tree10848c3ac922968209bf97227df3f7c0ffa56d70 /src/lib
parent795fda033656982a8aeef0e105bcfbc9a73c8c13 (diff)
downloadcoreboot-55cb5f8de53366c9df10ed9307cc9088c96191cf.tar.xz
Remove unnecessary ENV_RAMSTAGE guard
TEST=Able to build coreboot for CML. Change-Id: Ic0f473e04ffc1de50dee871af52eacf0b328b376 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32764 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/bootmode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/bootmode.c b/src/lib/bootmode.c
index 18f6d5dcac..737dcf93d0 100644
--- a/src/lib/bootmode.c
+++ b/src/lib/bootmode.c
@@ -17,7 +17,6 @@
#include <bootmode.h>
#include <vendorcode/google/chromeos/chromeos.h>
-#if ENV_RAMSTAGE
static int gfx_init_done = -1;
int gfx_get_init_done(void)
@@ -31,7 +30,6 @@ void gfx_set_init_done(int done)
{
gfx_init_done = done;
}
-#endif
int display_init_required(void)
{