/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include #include #include void __weak verstage_mainboard_init(void) { /* Default empty implementation. */ } void main(void) { console_init(); exception_init(); verstage_mainboard_init(); if (CONFIG(VBOOT_RETURN_FROM_VERSTAGE)) { verstage_main(); printk(BIOS_DEBUG, "VBOOT: Returning from verstage.\n"); } else { run_romstage(); hlt(); } }