Jon Murphy | db7b444 | 2023-12-19 16:04:38 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <baseboard/variants.h> |
| 4 | #include <baseboard/port_descriptors.h> |
| 5 | #include <soc/platform_descriptors.h> |
| 6 | |
| 7 | enum baseboard_dxio_port_id { |
| 8 | BASEBOARD_DXIO_WLAN, |
| 9 | BASEBOARD_DXIO_SD, |
| 10 | BASEBOARD_DXIO_STORAGE, |
| 11 | }; |
| 12 | |
| 13 | static fsp_dxio_descriptor skyrim_mdn_dxio_descriptors[] = { |
| 14 | [BASEBOARD_DXIO_WLAN] = WLAN_DXIO_DESCRIPTOR, |
| 15 | [BASEBOARD_DXIO_SD] = SD_DXIO_DESCRIPTOR, |
| 16 | [BASEBOARD_DXIO_STORAGE] = NVME_DXIO_DESCRIPTOR, |
| 17 | }; |
| 18 | |
| 19 | __weak void variant_get_dxio_descriptors(const fsp_dxio_descriptor **dxio_descriptor, size_t *num) |
| 20 | { |
| 21 | *dxio_descriptor = skyrim_mdn_dxio_descriptors; |
| 22 | *num = ARRAY_SIZE(skyrim_mdn_dxio_descriptors); |
| 23 | } |