mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / purism / librem_jsl / bootblock.c
blobe0f480e8ce5d4e9fab80cf930d85ac87caa6dec3
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>
6 #include <gpio.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.
25 ec_write(0xa3, 0);