/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include #include #include static const struct pad_config early_gpio_table[] = { PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1), /* UART2_RXD */ PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1), /* UART2_TXD */ }; void bootblock_mainboard_early_init(void) { gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table)); } void bootblock_mainboard_init(void) { /* * Ensure the panel is powered on. ACPI _PTS disables it, if the system * is powered up again we need to turn it on. */ ec_write(0xa3, 0); }