1c1d0c72aSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. All rights reserved.
2c1d0c72aSopenharmony_ci#
3c1d0c72aSopenharmony_ci# Redistribution and use in source and binary forms, with or without modification,
4c1d0c72aSopenharmony_ci# are permitted provided that the following conditions are met:
5c1d0c72aSopenharmony_ci#
6c1d0c72aSopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of
7c1d0c72aSopenharmony_ci#    conditions and the following disclaimer.
8c1d0c72aSopenharmony_ci#
9c1d0c72aSopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list
10c1d0c72aSopenharmony_ci#    of conditions and the following disclaimer in the documentation and/or other materials
11c1d0c72aSopenharmony_ci#    provided with the distribution.
12c1d0c72aSopenharmony_ci#
13c1d0c72aSopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used
14c1d0c72aSopenharmony_ci#    to endorse or promote products derived from this software without specific prior written
15c1d0c72aSopenharmony_ci#    permission.
16c1d0c72aSopenharmony_ci#
17c1d0c72aSopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18c1d0c72aSopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19c1d0c72aSopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20c1d0c72aSopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21c1d0c72aSopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22c1d0c72aSopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23c1d0c72aSopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24c1d0c72aSopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25c1d0c72aSopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26c1d0c72aSopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27c1d0c72aSopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28c1d0c72aSopenharmony_ci
29c1d0c72aSopenharmony_cimenu "HDF Configuration"
30c1d0c72aSopenharmony_ci
31c1d0c72aSopenharmony_ciconfig DRIVERS_HDF
32c1d0c72aSopenharmony_ci    bool "HDF driver framework support"
33c1d0c72aSopenharmony_ci    default n
34c1d0c72aSopenharmony_ci    select KERNEL_PM
35c1d0c72aSopenharmony_ci    help
36c1d0c72aSopenharmony_ci      Answer Y to enable LiteOS support HDF.
37c1d0c72aSopenharmony_ci
38c1d0c72aSopenharmony_ciif DRIVERS_HDF
39c1d0c72aSopenharmony_ciconfig LOSCFG_DRIVERS_HDF_CONFIG_MACRO
40c1d0c72aSopenharmony_ci    bool "Enable HDF config macro parser"
41c1d0c72aSopenharmony_ci    default n
42c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF
43c1d0c72aSopenharmony_ci    help
44c1d0c72aSopenharmony_ci      Answer Y to enable HDF config macro parser.
45c1d0c72aSopenharmony_ci
46c1d0c72aSopenharmony_ciconfig LOSCFG_DRIVERS_HDF_PLATFORM
47c1d0c72aSopenharmony_ci    bool "Enable HDF platform driver"
48c1d0c72aSopenharmony_ci    default n
49c1d0c72aSopenharmony_ci    depends on DRIVERS_HDF
50c1d0c72aSopenharmony_ci    help
51c1d0c72aSopenharmony_ci      Answer Y to enable HDF platform driver.
52c1d0c72aSopenharmony_ciendif
53c1d0c72aSopenharmony_ci
54c1d0c72aSopenharmony_ciif LOSCFG_DRIVERS_HDF_PLATFORM
55c1d0c72aSopenharmony_cisource "../../../drivers/hdf_core/adapter/khdf/uniproton/platform/Kconfig"
56c1d0c72aSopenharmony_ciendif
57c1d0c72aSopenharmony_ci
58c1d0c72aSopenharmony_ciendmenu
59