mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / gale / reset.c
blobc14ee453329ccf6b70ba2b2311cd86cee82b24b9
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/mmio.h>
4 #include <soc/iomap.h>
5 #include <reset.h>
7 void do_board_reset(void)
9 /*
10 * At boot time the boot loaders would have set a magic cookie
11 * here to detect watchdog reset. However, since this is a
12 * normal reset clear the magic numbers.
14 write32(TCSR_BOOT_MISC_DETECT, 0);
15 write32(TCSR_RESET_DEBUG_SW_ENTRY, 0);
16 write32(GCNT_PSHOLD, 0);