Commit 987016b9 authored by Anas Nashif's avatar Anas Nashif
Browse files

drivers: add qmsi files for Quark MCUs

This is from QMSI porject at https://github.com/01org/qmsi

The version included in this change is 1.0.1:

https://github.com/01org/qmsi/releases/tag/v1.0.1

commit: c902bc5143546b76a3708ddb465ea9b7a8bd314a

Origin: https://github.com/01org/qmsi


Change-Id: I983deb2cffe2f84b7b7f2dd381367863eab7c6d1
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 3aab249a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -52,6 +52,12 @@ config PHYS_RAM_ADDR
config TOOLCHAIN_VARIANT
        default "iamcu"

config QMSI
	def_bool y

config QMSI_BUILTIN
	def_bool y

if UART_NS16550

config UART_NS16550_DLF
+6 −0
Original line number Diff line number Diff line
@@ -45,6 +45,12 @@ config LOAPIC_TIMER_IRQ
config TOOLCHAIN_VARIANT
	default "iamcu"

config QMSI
	def_bool y

config QMSI_BUILTIN
	def_bool y

if GPIO

config GPIO_DW
+7 −0
Original line number Diff line number Diff line
subdir-ccflags-y += -I$(srctree)/include/drivers

subdir-ccflags-$(CONFIG_QMSI_DRIVERS) += -I$(CONFIG_QMSI_INSTALL_PATH)/include
subdir-ccflags-$(CONFIG_QMSI_BUILTIN) +=-I$(srctree)/drivers/qmsi/include
subdir-ccflags-$(CONFIG_QMSI_BUILTIN) +=-I$(srctree)/drivers/qmsi/drivers/include
subdir-ccflags-$(CONFIG_QMSI_BUILTIN) +=-I$(srctree)/drivers/qmsi/soc/$(SOC_NAME)/include/


obj-y = console/
obj-y += random/
obj-y += serial/
@@ -25,3 +31,4 @@ obj-$(CONFIG_IPM) += ipm/
obj-$(CONFIG_SENSOR) += sensor/
obj-y += aio/
obj-$(CONFIG_PINMUX) += pinmux/
obj-$(CONFIG_QMSI_BUILTIN) += qmsi/
+15 −2
Original line number Diff line number Diff line
@@ -15,17 +15,30 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
config QMSI_BUILTIN
	bool "Enable QMSI drivers through integrated sources"
	default n
	select QMSI
	help
	Link with local QMSI sources instead of external library.

config QMSI_DRIVERS
	depends on CPU_MINUTEIA
	bool "Enable QMSI drivers"
	bool "Enable QMSI drivers using external library"
	default n
	select QMSI
	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
	bool
	default n
	help
	automatically set when either of QMSI_DRIVERS or QMSI_BUILTIN
	is selected.

config QMSI_INSTALL_PATH
	depends on QMSI_DRIVERS
	string "QMSI install path"

drivers/qmsi/Makefile

0 → 100644
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_QMSI_BUILTIN) += drivers/qm_scss.o
Loading