1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
5 #include <device/device.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
);
20 static void mainboard_init(void *chip_info
)
22 const struct pad_config
*pads
;
25 pads
= variant_gpio_table(&num
);
26 gpio_configure_pads(pads
, num
);
31 struct chip_operations mainboard_ops
= {
32 .init
= mainboard_init
,