blob: a1b3a7626d44c7da6fb56bd5b5cf6ac112a43910 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */
#include <bootblock_common.h>
#include <console/console.h>
#include <cpu/x86/bist.h>
asmlinkage void bootblock_c_entry_bist(uint64_t base_timestamp, uint32_t bist)
{
post_code(0x05);
/* Halt if there was a built in self test failure */
if (bist) {
console_init();
report_bist_failure(bist);
}
/* Call lib/bootblock.c main */
bootblock_main_with_basetime(base_timestamp);
}