mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / octopus / variants / casta / variant.c
blobb9165a7aabd600b8b004d1d79d5c370b432586a9
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <ec/google/chromeec/ec.h>
4 #include <baseboard/variants.h>
5 #include <sar.h>
7 #define RIGHT_USB_C_PORT_ID 4
9 const char *get_wifi_sar_cbfs_filename(void)
11 uint32_t sku_id = google_chromeec_get_board_sku();
13 if (sku_id == 2)
14 return "wifi_sar-bluebird.hex";
16 return WIFI_SAR_CBFS_DEFAULT_FILENAME;
19 bool variant_ext_usb_status(unsigned int port_type, unsigned int port_id)
21 uint32_t sku_id = google_chromeec_get_board_sku();
23 if (sku_id == 2 && port_id == RIGHT_USB_C_PORT_ID)
24 return false;
25 return true;