1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/variants.h>
4 #include <device/device.h>
5 #include <drivers/intel/gma/opregion.h>
7 #include <ec/intel/board_id.h>
8 #include <soc/ramstage.h>
13 const char *smbios_system_sku(void)
15 static char sku_str
[7] = "";
16 uint8_t sku_id
= get_rvp_board_id();
18 snprintf(sku_str
, sizeof(sku_str
), "sku%u", sku_id
);
22 const char *mainboard_vbt_filename(void)
27 void mainboard_update_soc_chip_config(struct soc_intel_meteorlake_config
*cfg
)
29 /* TODO: Update mainboard */
32 static void mainboard_init(void *chip_info
)
34 configure_gpio_pads();
36 if (CONFIG(EC_GOOGLE_CHROMEEC
))
39 variant_devtree_update();
42 void __weak
variant_devtree_update(void)
44 /* Override dev tree settings per board */
47 static void mainboard_enable(struct device
*dev
)
49 /* TODO: Enable mainboard */
52 struct chip_operations mainboard_ops
= {
53 .init
= mainboard_init
,
54 .enable_dev
= mainboard_enable
,