1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
4 #include <device/pci_ops.h>
5 #include <ec/acpi/ec.h>
7 #include <soc/pci_devs.h>
9 static const struct pad_config early_gpio_table
[] = {
10 PAD_CFG_NF(GPP_C20
, NONE
, DEEP
, NF1
), /* UART2_RXD */
11 PAD_CFG_NF(GPP_C21
, NONE
, DEEP
, NF1
), /* UART2_TXD */
14 void bootblock_mainboard_early_init(void)
16 gpio_configure_pads(early_gpio_table
, ARRAY_SIZE(early_gpio_table
));
19 void bootblock_mainboard_init(void)
22 * Ensure the panel is powered on. ACPI _PTS disables it, if the system
23 * is powered up again we need to turn it on.