From 4e3ec6207d779f111bf1fd8cd4a37ba4558ecef2 Mon Sep 17 00:00:00 2001 From: Dong Wang Date: Thu, 1 Jun 2023 15:55:43 +0800 Subject: [PATCH] ish: add module Kconfig for Intel HAL Add a new Kconfig option to enable the build of Intel HAL and select it always for ish SoCs Signed-off-by: Dong Wang --- modules/Kconfig | 1 + modules/Kconfig.intel | 8 ++++++++ soc/x86/intel_ish/Kconfig | 1 + 3 files changed, 10 insertions(+) create mode 100644 modules/Kconfig.intel diff --git a/modules/Kconfig b/modules/Kconfig index f35dfdcbd48..8f5a9b55d78 100644 --- a/modules/Kconfig +++ b/modules/Kconfig @@ -45,6 +45,7 @@ source "modules/Kconfig.wurthelektronik" source "modules/Kconfig.xtensa" source "modules/zcbor/Kconfig" source "modules/Kconfig.mcuboot" +source "modules/Kconfig.intel" comment "Unavailable modules, please install those via the project manifest." diff --git a/modules/Kconfig.intel b/modules/Kconfig.intel new file mode 100644 index 00000000000..7ce9101497d --- /dev/null +++ b/modules/Kconfig.intel @@ -0,0 +1,8 @@ +# Copyright (c) 2023 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +config INTEL_HAL + bool + help + Build the Intel HAL module during build process. + This is selected by the ARCH kconfig automatically. diff --git a/soc/x86/intel_ish/Kconfig b/soc/x86/intel_ish/Kconfig index 2f0183490a3..9c13acba9d5 100644 --- a/soc/x86/intel_ish/Kconfig +++ b/soc/x86/intel_ish/Kconfig @@ -11,3 +11,4 @@ config SOC_FAMILY_INTEL_ISH select IOAPIC select LOAPIC select CPU_HAS_FPU + select INTEL_HAL