MLK-10600-2: mxc: sim: Add an option to enable SIM driver build.
authorLuwei Zhou <b45643@freescale.com>
Wed, 8 Apr 2015 06:44:51 +0000 (14:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:27 +0000 (14:47 -0500)
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)

drivers/mxc/Kconfig [new file with mode: 0644]
drivers/mxc/Makefile [new file with mode: 0644]
drivers/mxc/sim/Kconfig [new file with mode: 0644]
drivers/mxc/sim/Makefile [new file with mode: 0644]

diff --git a/drivers/mxc/Kconfig b/drivers/mxc/Kconfig
new file mode 100644 (file)
index 0000000..a6f5a8d
--- /dev/null
@@ -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 (file)
index 0000000..c7ec780
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_MXC_SIM) += sim/
diff --git a/drivers/mxc/sim/Kconfig b/drivers/mxc/sim/Kconfig
new file mode 100644 (file)
index 0000000..c8ccc47
--- /dev/null
@@ -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 (file)
index 0000000..11796e9
--- /dev/null
@@ -0,0 +1,5 @@
+#
+# Makefile for the i.MX SIM driver
+#
+
+obj-$(CONFIG_MXC_SIM) += imx_sim.o