From 6f73a202d3df000fb2fd83080e0b148add344485 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Fri, 4 Feb 2022 12:45:37 -0700 Subject: drivers/wifi,soc/intel/adl: Move CnviDdrRfim property to drivers Some non-SoC code might want to know whether or not the CNVi DDR RFIM feature is enabled. Also note that future SoCs may also support this feature. To make the CnviDdrRfim property generic, move it from soc/intel/alderlake to drivers/wifi/generic instead. Signed-off-by: Tim Wawrzynczak Change-Id: Idf9fba0a79d1f431269be5851b026ed966600160 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61638 Tested-by: build bot (Jenkins) Reviewed-by: Rizwan Qureshi Reviewed-by: Varshit B Pandya --- src/drivers/wifi/generic/wifi.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/drivers/wifi/generic/wifi.h (limited to 'src/drivers/wifi/generic/wifi.h') diff --git a/src/drivers/wifi/generic/wifi.h b/src/drivers/wifi/generic/wifi.h new file mode 100644 index 0000000000..54acfa440f --- /dev/null +++ b/src/drivers/wifi/generic/wifi.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +#ifndef _WIFI_GENERIC_WIFI_H_ +#define _WIFI_GENERIC_WIFI_H_ + +bool wifi_generic_cnvi_ddr_rfim_enabled(const struct device *dev); + +#endif /* _WIFI_GENERIC_WIFI_H_ */ -- cgit v1.2.3