| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <bootblock_common.h> |
| 4 | #include <superio/ite/common/ite.h> |
| 5 | #include <superio/ite/it8772f/it8772f.h> |
| 6 | #include "onboard.h" |
| 7 | |
| 8 | void bootblock_mainboard_early_init(void) |
| 9 | { |
| 10 | /* Early SuperIO setup */ |
| 11 | ite_ac_resume_southbridge(IT8772F_EC_DEV); |
| 12 | ite_kill_watchdog(IT8772F_GPIO_DEV); |
| 13 | ite_enable_serial(IT8772F_SERIAL_DEV, CONFIG_TTYS0_BASE); |
| 14 | |
| 15 | /* Turn On Power LED */ |
| 16 | set_power_led(LED_ON); |
| 17 | } |