payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / tglrvp / mainboard.c
blobbbce9278df6767105e74f7e458610901232e431d
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
5 #include <device/device.h>
6 #include <ec/ec.h>
7 #include <soc/gpio.h>
8 #include <smbios.h>
9 #include <string.h>
11 const char *smbios_system_sku(void)
13 static char sku_str[7] = ""; /* sku{0..255} */
14 uint32_t sku_id = 255;
16 snprintf(sku_str, sizeof(sku_str), "sku%u", sku_id);
17 return sku_str;
20 static void mainboard_init(void *chip_info)
22 const struct pad_config *pads;
23 size_t num;
25 pads = variant_gpio_table(&num);
26 gpio_configure_pads(pads, num);
28 mainboard_ec_init();
31 struct chip_operations mainboard_ops = {
32 .init = mainboard_init,