2015-11-27 21:09:32 +08:00
|
|
|
# Kconfig - QMSI drivers configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
2016-05-25 03:23:26 +08:00
|
|
|
|
|
|
|
config HAS_QMSI
|
|
|
|
bool
|
|
|
|
|
|
|
|
menuconfig QMSI
|
|
|
|
bool "QMSI driver support"
|
|
|
|
default n
|
|
|
|
depends on HAS_QMSI
|
|
|
|
help
|
|
|
|
automatically set when either of QMSI_LIBRARY or QMSI_BUILTIN
|
|
|
|
is selected.
|
|
|
|
|
|
|
|
if HAS_QMSI
|
|
|
|
|
2016-03-27 22:16:28 +08:00
|
|
|
config QMSI_BUILTIN
|
|
|
|
bool "Enable QMSI drivers through integrated sources"
|
|
|
|
default n
|
|
|
|
select QMSI
|
|
|
|
help
|
|
|
|
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"
|
2015-11-27 21:09:32 +08:00
|
|
|
default n
|
2016-03-27 22:16:28 +08:00
|
|
|
select QMSI
|
2015-11-27 21:09:32 +08:00
|
|
|
help
|
|
|
|
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).
|
|
|
|
|
|
|
|
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
|
|
|
|
This option holds the path where the QMSI library and headers are
|
2016-04-19 05:32:02 +08:00
|
|
|
installed. Make sure this option is properly set when QMSI_LIBRARY
|
2015-11-27 21:09:32 +08:00
|
|
|
is enabled otherwise the build will fail.
|
2016-05-25 03:23:26 +08:00
|
|
|
|
|
|
|
endif
|