1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <bootblock_common.h> 4 #include <console/console.h> 5 #include <cpu/x86/bist.h> 6 bootblock_c_entry_bist(uint64_t base_timestamp,uint32_t bist)7asmlinkage void bootblock_c_entry_bist(uint64_t base_timestamp, uint32_t bist) 8 { 9 post_code(0x05); 10 11 /* Halt if there was a built in self test failure */ 12 if (bist) { 13 console_init(); 14 report_bist_failure(bist); 15 } 16 17 /* Call lib/bootblock.c main */ 18 bootblock_main_with_basetime(base_timestamp); 19 } 20