aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/postcar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/postcar.c')
-rw-r--r--src/arch/x86/postcar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/postcar.c b/src/arch/x86/postcar.c
index 8c3ea43f46..b6ae09a668 100644
--- a/src/arch/x86/postcar.c
+++ b/src/arch/x86/postcar.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <cbmem.h>
#include <console/console.h>
#include <main_decl.h>
#include <program_loading.h>
@@ -22,6 +23,9 @@ void main(void)
{
console_init();
+ /* Recover cbmem so infrastruture using it is functional. */
+ cbmem_initialize();
+
/* Display the MTRRs */
if (IS_ENABLED(CONFIG_DISPLAY_MTRRS))
soc_display_mtrrs();