1
0
Fork 0

MLK-10600-2: mxc: sim: add an option to enable SIM driver build

Add the option to enable SIM driver build.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Gao Pan <b45643@freescale.com>
(cherry picked from 0f7a6fa3c141bfc7333d9056639b7a5b1154ed1d)
5.4-rM2-2.2.x-imx-squashed
Luwei Zhou 2019-06-18 17:38:14 +08:00 committed by Dong Aisheng
parent fb80f7afe2
commit 3867b4bd9f
6 changed files with 42 additions and 0 deletions

View File

@ -228,4 +228,5 @@ source "drivers/interconnect/Kconfig"
source "drivers/counter/Kconfig"
source "drivers/mxc/Kconfig"
endmenu

View File

@ -186,3 +186,4 @@ obj-$(CONFIG_SIOX) += siox/
obj-$(CONFIG_GNSS) += gnss/
obj-$(CONFIG_INTERCONNECT) += interconnect/
obj-$(CONFIG_COUNTER) += counter/
obj-y += mxc/

View File

@ -0,0 +1,17 @@
# drivers/mxc/Kconfig
if ARCH_MXC
menu "MXC support drivers"
config MXC_SIM
tristate "MXC SIM support"
default n
help
Say Y to get MXC SIM support.
source "drivers/mxc/sim/Kconfig"
endmenu
endif

View File

@ -0,0 +1 @@
obj-$(CONFIG_MXC_SIM) += sim/

View File

@ -0,0 +1,17 @@
#
# SIM configuration
#
menu "MXC SIM Support"
config MXC_SIMv2
tristate "MXC SIMv2 support"
depends on ARCH_MXC && MXC_SIM
default n
---help---
Say Y if you want to use the SIMv2 on NXP i.MX6/7 processors.
This driver can also be built as a module. If so, the module
will be called imx_sim.
endmenu

View File

@ -0,0 +1,5 @@
#
# Makefile for the i.MX SIM driver
#
obj-$(CONFIG_MXC_SIMv2) += imx_sim.o