2015-11-27 21:09:32 +08:00
|
|
|
# Kconfig - QMSI drivers configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-01-21 09:22:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-11-27 21:09:32 +08:00
|
|
|
#
|
2016-05-25 03:23:26 +08:00
|
|
|
|
|
|
|
config HAS_QMSI
|
|
|
|
bool
|
|
|
|
|
|
|
|
menuconfig QMSI
|
|
|
|
bool "QMSI driver support"
|
|
|
|
depends on HAS_QMSI
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
automatically set when either of QMSI_LIBRARY or QMSI_BUILTIN
|
|
|
|
is selected.
|
2016-05-25 03:23:26 +08:00
|
|
|
|
|
|
|
if HAS_QMSI
|
|
|
|
|
2016-03-27 22:16:28 +08:00
|
|
|
config QMSI_BUILTIN
|
|
|
|
bool "Enable QMSI drivers through integrated sources"
|
|
|
|
select QMSI
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Link with local QMSI sources instead of external library.
|
2015-11-27 21:09:32 +08:00
|
|
|
|
2016-04-19 05:32:02 +08:00
|
|
|
config QMSI_LIBRARY
|
2016-03-27 22:16:28 +08:00
|
|
|
bool "Enable QMSI drivers using external library"
|
|
|
|
select QMSI
|
2015-11-27 21:09:32 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This option enables QMSI device drivers. These drivers are actually shim
|
|
|
|
drivers based on drivers provided by QMSI BSP. The BSP provides a static
|
|
|
|
library (libqmsi) which implements several drivers for peripherals from
|
|
|
|
Intel MCUs (e.g. Quark SE and Quark D2000).
|
2015-11-27 21:09:32 +08:00
|
|
|
|
|
|
|
config QMSI_INSTALL_PATH
|
2016-04-19 05:32:02 +08:00
|
|
|
depends on QMSI_LIBRARY
|
2015-11-27 21:09:32 +08:00
|
|
|
string "QMSI install path"
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This option holds the path where the QMSI library and headers are
|
|
|
|
installed. Make sure this option is properly set when QMSI_LIBRARY
|
|
|
|
is enabled otherwise the build will fail.
|
2016-05-25 03:23:26 +08:00
|
|
|
|
|
|
|
endif
|