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
parent
fb80f7afe2
commit
3867b4bd9f
|
@ -228,4 +228,5 @@ source "drivers/interconnect/Kconfig"
|
|||
|
||||
source "drivers/counter/Kconfig"
|
||||
|
||||
source "drivers/mxc/Kconfig"
|
||||
endmenu
|
||||
|
|
|
@ -186,3 +186,4 @@ obj-$(CONFIG_SIOX) += siox/
|
|||
obj-$(CONFIG_GNSS) += gnss/
|
||||
obj-$(CONFIG_INTERCONNECT) += interconnect/
|
||||
obj-$(CONFIG_COUNTER) += counter/
|
||||
obj-y += mxc/
|
||||
|
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_MXC_SIM) += sim/
|
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
#
|
||||
# Makefile for the i.MX SIM driver
|
||||
#
|
||||
|
||||
obj-$(CONFIG_MXC_SIMv2) += imx_sim.o
|
Loading…
Reference in New Issue