acpi: Add IORT helper functions
[coreboot2.git] / src / lib / reset.c
blob891b9f5eb4bf352d1800843e9f8b7784f5278854
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <arch/cache.h>
4 #include <console/console.h>
5 #include <halt.h>
6 #include <reset.h>
8 __noreturn void board_reset(void)
10 printk(BIOS_INFO, "%s() called!\n", __func__);
11 dcache_clean_all();
12 do_board_reset();
13 halt();
16 #if CONFIG(MISSING_BOARD_RESET)
17 void do_board_reset(void)
19 printk(BIOS_CRIT, "No board_reset implementation, hanging...\n");
21 #endif