| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <bootblock_common.h> |
| 4 | #include <gpio.h> |
| 5 | #include <soc/spi.h> |
| 6 | |
| 7 | #include "gpio.h" |
| 8 | |
| 9 | static void usb3_hub_reset(void) |
| 10 | { |
| 11 | gpio_output(GPIO_USB3_HUB_RST_L, 1); |
| 12 | } |
| 13 | |
| 14 | void bootblock_mainboard_init(void) |
| 15 | { |
| 16 | mtk_snfc_init(); |
| 17 | setup_chromeos_gpios(); |
| 18 | usb3_hub_reset(); |
| 19 | } |