blob: 204ec61b55a9744599f9f023d91d940b7ea0300e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <baseboard/variants.h>
#include <boardid.h>
#include <device/device.h>
#include <soc/gpio.h>
void variant_update_dxio_descriptors(fsp_dxio_descriptor *dxio_descriptors)
{
uint32_t board_version = board_id();
if (board_version >= 3) {
dxio_descriptors[WLAN].link_aspm_L1_1 = true;
dxio_descriptors[WLAN].link_aspm_L1_2 = true;
} else {
dxio_descriptors[WLAN].link_aspm_L1_1 = false;
dxio_descriptors[WLAN].link_aspm_L1_2 = false;
}
}
|