diff options
author | Luwei Zhou <b45643@freescale.com> | 2015-04-08 14:44:51 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-23 16:57:10 +0300 |
commit | a02bfd86978d26571036bb3e3a8c898de8e90971 (patch) | |
tree | 4acd198f46ff253a2451a29a040298ab16e0beaf | |
parent | 3142dab297355eb194b9ecbcd328c3342410ea6a (diff) |
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)
-rw-r--r-- | drivers/mxc/Kconfig | 11 | ||||
-rw-r--r-- | drivers/mxc/Makefile | 1 | ||||
-rw-r--r-- | drivers/mxc/sim/Kconfig | 13 | ||||
-rw-r--r-- | drivers/mxc/sim/Makefile | 5 |
4 files changed, 30 insertions, 0 deletions
diff --git a/drivers/mxc/Kconfig b/drivers/mxc/Kconfig new file mode 100644 index 000000000000..a6f5a8d9a2b7 --- /dev/null +++ b/drivers/mxc/Kconfig @@ -0,0 +1,11 @@ +# drivers/mxc/Kconfig + +if ARCH_MXC + +menu "MXC support drivers" + +source "drivers/mxc/sim/Kconfig" + +endmenu + +endif diff --git a/drivers/mxc/Makefile b/drivers/mxc/Makefile new file mode 100644 index 000000000000..c7ec780235f8 --- /dev/null +++ b/drivers/mxc/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_MXC_SIM) += sim/ diff --git a/drivers/mxc/sim/Kconfig b/drivers/mxc/sim/Kconfig new file mode 100644 index 000000000000..c8ccc47e8643 --- /dev/null +++ b/drivers/mxc/sim/Kconfig @@ -0,0 +1,13 @@ +# +# SIM configuration +# + +menu "MXC SIM Support" + +config MXC_SIM + tristate "MXC SIM support" + default n + ---help--- + Say Y to get MXC SIM support. + +endmenu diff --git a/drivers/mxc/sim/Makefile b/drivers/mxc/sim/Makefile new file mode 100644 index 000000000000..11796e95a956 --- /dev/null +++ b/drivers/mxc/sim/Makefile @@ -0,0 +1,5 @@ +# +# Makefile for the i.MX SIM driver +# + +obj-$(CONFIG_MXC_SIM) += imx_sim.o |