summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/cbmem.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index 7e1da17b98..9e12afe4a3 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -163,10 +163,7 @@ static inline int cbmem_online(void)
if (!cbmem_possibly_online())
return 0;
- if (ENV_ROMSTAGE)
- return cbmem_initialized;
-
- return 1;
+ return cbmem_initialized;
}
#endif /* _CBMEM_H_ */