Martin Roth | 8324fe9 | 2023-08-04 12:07:51 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Furquan Shaikh | 507a98b | 2020-10-27 15:28:21 -0700 | [diff] [blame] | 3 | |
| 4 | ifeq ($(CONFIG_DRIVERS_WIFI_GENERIC),y) |
| 5 | |
Tim Wawrzynczak | 6f73a20 | 2022-02-04 12:45:37 -0700 | [diff] [blame] | 6 | romstage-y += generic.c |
| 7 | |
Furquan Shaikh | 507a98b | 2020-10-27 15:28:21 -0700 | [diff] [blame] | 8 | ramstage-y += generic.c |
| 9 | ramstage-$(CONFIG_GENERATE_SMBIOS_TABLES) += smbios.c |
Furquan Shaikh | 2736c82 | 2020-10-27 19:46:11 -0700 | [diff] [blame] | 10 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c |
David Ruth | ea8330e | 2023-12-06 21:39:54 +0000 | [diff] [blame^] | 11 | ramstage-$(CONFIG_USE_MTCL) += mtcl.c |
Furquan Shaikh | f223863 | 2020-10-04 17:45:22 -0700 | [diff] [blame] | 12 | |
Furquan Shaikh | 31f6320 | 2021-03-13 22:34:57 -0800 | [diff] [blame] | 13 | CONFIG_WIFI_SAR_CBFS_FILEPATH := $(call strip_quotes,$(CONFIG_WIFI_SAR_CBFS_FILEPATH)) |
| 14 | |
| 15 | ifneq ($(CONFIG_WIFI_SAR_CBFS_FILEPATH),) |
| 16 | |
| 17 | cbfs-files-$(CONFIG_USE_SAR) += wifi_sar_defaults.hex |
| 18 | wifi_sar_defaults.hex-file := $(CONFIG_WIFI_SAR_CBFS_FILEPATH) |
Furquan Shaikh | f223863 | 2020-10-04 17:45:22 -0700 | [diff] [blame] | 19 | wifi_sar_defaults.hex-type := raw |
Furquan Shaikh | 507a98b | 2020-10-27 15:28:21 -0700 | [diff] [blame] | 20 | |
| 21 | endif |
Furquan Shaikh | 31f6320 | 2021-03-13 22:34:57 -0800 | [diff] [blame] | 22 | |
David Ruth | ea8330e | 2023-12-06 21:39:54 +0000 | [diff] [blame^] | 23 | CONFIG_MTCL_CBFS_FILEPATH := $(call strip_quotes,$(CONFIG_MTCL_CBFS_FILEPATH)) |
| 24 | |
| 25 | ifneq ($(CONFIG_MTCL_CBFS_FILEPATH),) |
| 26 | |
| 27 | cbfs-files-$(CONFIG_USE_MTCL) += wifi_mtcl.bin |
| 28 | wifi_mtcl.bin-file := $(CONFIG_MTCL_CBFS_FILEPATH) |
| 29 | wifi_mtcl.bin-type := raw |
| 30 | |
| 31 | endif |
| 32 | |
Furquan Shaikh | 31f6320 | 2021-03-13 22:34:57 -0800 | [diff] [blame] | 33 | endif |