summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorWang Dongsheng <dongsheng.wang@freescale.com>2014-08-19 03:06:16 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:36:42 (GMT)
commit857ca623b184bed7f35bca812d815ec5437624f2 (patch)
tree421673dc1ae5f61a2578dfbb0f694f732f2c5b75 /drivers/soc
parentaa0033b7d93653a38e583ffe944550bbd59bb1ae (diff)
downloadlinux-fsl-qoriq-857ca623b184bed7f35bca812d815ec5437624f2.tar.xz
soc/fsl: add freescale dir for SOC specific drivers
Some Freescale device driver need to move to soc, because these drivers are specific drivers. Before the soc/ to be created, the drivers had been there arch/ or drivers/misc/, but now soc/ dir is a better choice. Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com> Change-Id: Iba92df04682bae45f1a40d20e4a848814d3d895a Reviewed-on: http://git.am.freescale.net:8181/19837 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/Kconfig13
-rw-r--r--drivers/soc/Makefile5
-rw-r--r--drivers/soc/fsl/Kconfig3
-rw-r--r--drivers/soc/fsl/Kconfig.arm16
-rw-r--r--drivers/soc/fsl/Makefile5
-rw-r--r--drivers/soc/fsl/ls1/Kconfig3
6 files changed, 45 insertions, 0 deletions
diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig
index 339baa8..522e7fc 100644
--- a/drivers/soc/Kconfig
+++ b/drivers/soc/Kconfig
@@ -1,3 +1,16 @@
menu "SOC (System On Chip) specific Drivers"
+config FSL_SOC_DRIVERS
+ bool "Freescale Soc Drivers"
+ depends on FSL_SOC || ARCH_MXC
+ default n
+ help
+ Say y here to enable Freescale Soc Device Drivers support.
+ The Soc Drivers provides the device driver that is a specific block
+ or feature on Freescale platform.
+
+if FSL_SOC_DRIVERS
+ source "drivers/soc/fsl/Kconfig"
+endif
+
endmenu
diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
new file mode 100644
index 0000000..b40b228
--- /dev/null
+++ b/drivers/soc/Makefile
@@ -0,0 +1,5 @@
+#
+# Makefile for the Freescale SOC specific device drivers.
+#
+
+obj-$(CONFIG_FSL_SOC_DRIVERS) += fsl/
diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig
new file mode 100644
index 0000000..72df9b3
--- /dev/null
+++ b/drivers/soc/fsl/Kconfig
@@ -0,0 +1,3 @@
+if ARM
+source "drivers/soc/fsl/Kconfig.arm"
+endif
diff --git a/drivers/soc/fsl/Kconfig.arm b/drivers/soc/fsl/Kconfig.arm
new file mode 100644
index 0000000..8c90b82
--- /dev/null
+++ b/drivers/soc/fsl/Kconfig.arm
@@ -0,0 +1,16 @@
+#
+# Freescale ARM SOC Drivers
+#
+
+config LS1_SOC_DRIVERS
+ bool "LS1021A Soc Drivers"
+ depends on SOC_LS1021A
+ default n
+ help
+ Say y here to enable Freescale LS1021A Soc Device Drivers support.
+ The Soc Drivers provides the device driver that is a specific block
+ or feature on LS1021A platform.
+
+if LS1_SOC_DRIVERS
+ source "drivers/soc/fsl/ls1/Kconfig"
+endif
diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile
new file mode 100644
index 0000000..5ca0e1c
--- /dev/null
+++ b/drivers/soc/fsl/Makefile
@@ -0,0 +1,5 @@
+#
+# Makefile for ls1 Soc specific device drivers.
+#
+
+obj-$(CONFIG_LS1_SOC_DRIVERS) += ls1/
diff --git a/drivers/soc/fsl/ls1/Kconfig b/drivers/soc/fsl/ls1/Kconfig
new file mode 100644
index 0000000..7556f44
--- /dev/null
+++ b/drivers/soc/fsl/ls1/Kconfig
@@ -0,0 +1,3 @@
+#
+# LS-1 Soc drivers
+#