summaryrefslogtreecommitdiff
path: root/drivers/uio/Kconfig
diff options
context:
space:
mode:
authorHou Zhiqiang <B48286@freescale.com>2014-03-26 02:54:56 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-04-01 16:17:15 (GMT)
commitd537942352c0d95b41650fb67cb380a07a9c13e5 (patch)
treedcfd5287e08267a2453006432b2262c541cc9cfe /drivers/uio/Kconfig
parent6efdc65e6d2ccb79428d41178c1d9ee97eaab71c (diff)
downloadlinux-fsl-qoriq-d537942352c0d95b41650fb67cb380a07a9c13e5.tar.xz
uio: add support to map SRAM to userspace
This driver config the L2 Cache to be SRAM mode and map the SRAM to user space. The size and the address of SRAM are passed in the U-boot command line as format: cache-sram=addr,size. Please notice that this driver is exclusive with config FSL_85XX_CACHE_SRAM. Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Change-Id: Ib0433acd459413fec5f5218751b0db79309895fd Reviewed-on: http://git.am.freescale.net:8181/10295 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com> Reviewed-by: Po Liu <Po.Liu@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/uio/Kconfig')
-rw-r--r--drivers/uio/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index d580c29..b19f25d 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -148,6 +148,17 @@ config UIO_FSL_SEC
depends on CRYPTO_DEV_FSL_CAAM=n
default n
+config UIO_FSL_SRAM
+ bool "Freescale L2CACHE for SRAM support"
+ depends on FSL_85XX_CACHE_SRAM=n
+ default n
+ help
+ UIO driver for the Freescale SRAM space. This driver will obtain
+ the SRAM nodes from DTB structure, and expose the SRAM space to
+ user space.
+
+ If you don't know what to do here, say N.
+
config UIO_MF624
tristate "Humusoft MF624 DAQ PCI card driver"
depends on PCI