summaryrefslogtreecommitdiff
path: root/drivers/staging/spectra
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-06-08 18:27:31 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-06-08 18:28:24 +0100
commitbf46b9a92e45044d0b41beed61ae118e560dd3e4 (patch)
treea6d33918158d79e3594815fc6543d5b6d26e31d4 /drivers/staging/spectra
parent8ae4f63623c6a6d164e28d6ac327cf8287b0a24d (diff)
downloadlinux-3.10-bf46b9a92e45044d0b41beed61ae118e560dd3e4.tar.gz
linux-3.10-bf46b9a92e45044d0b41beed61ae118e560dd3e4.tar.bz2
linux-3.10-bf46b9a92e45044d0b41beed61ae118e560dd3e4.zip
spectra: Rename config options
This is the Spectra driver, so use CONFIG_SPECTRA. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/staging/spectra')
-rw-r--r--drivers/staging/spectra/Kconfig26
-rw-r--r--drivers/staging/spectra/Makefile10
-rw-r--r--drivers/staging/spectra/spectraswconfig.h8
3 files changed, 22 insertions, 22 deletions
diff --git a/drivers/staging/spectra/Kconfig b/drivers/staging/spectra/Kconfig
index 4bed96f6883..5e2ffefb60a 100644
--- a/drivers/staging/spectra/Kconfig
+++ b/drivers/staging/spectra/Kconfig
@@ -1,40 +1,40 @@
-menuconfig MRST_NAND
- tristate "Moorestown NAND Flash controller"
+menuconfig SPECTRA
+ tristate "Denali Spectra Flash Translation Layer"
depends on BLOCK
default n
---help---
- Enable the driver for the NAND Flash controller in Intel Moorestown
- Platform
+ Enable the FTL pseudo-filesystem used with the NAND Flash
+ controller on Intel Moorestown Platform to pretend to be a disk
choice
prompt "Compile for"
- depends on MRST_NAND
- default MRST_NAND_HW
+ depends on SPECTRA
+ default SPECTRA_MRST_HW
-config MRST_NAND_HW
- bool "Actual hardware mode"
+config SPECTRA_MRST_HW
+ bool "Moorestown hardware mode"
help
- Driver communicates with the actual hardware's register interface.
+ Driver communicates with the Moorestown hardware's register interface.
in DMA mode.
-config MRST_NAND_MTD
+config SPECTRA_MTD
bool "Linux MTD mode"
depends on MTD
help
Driver communicates with the kernel MTD subsystem instead of its own
built-in hardware driver.
-config MRST_NAND_EMU
+config SPECTRA_EMU
bool "RAM emulator testing"
help
Driver emulates Flash on a RAM buffer and / or disk file. Useful to test the behavior of FTL layer.
endchoice
-config MRST_NAND_HW_DMA
+config SPECTRA_MRST_HW_DMA
bool
default n
- depends on MRST_NAND_HW
+ depends on SPECTRA_MRST_HW
help
Use DMA for native hardware interface.
diff --git a/drivers/staging/spectra/Makefile b/drivers/staging/spectra/Makefile
index 2a949038533..f777dfba05a 100644
--- a/drivers/staging/spectra/Makefile
+++ b/drivers/staging/spectra/Makefile
@@ -2,10 +2,10 @@
# Makefile of Intel Moorestown NAND controller driver
#
-obj-$(CONFIG_MRST_NAND) += spectra.o
+obj-$(CONFIG_SPECTRA) += spectra.o
spectra-y := ffsport.o flash.o lld.o
-spectra-$(CONFIG_MRST_NAND_HW) += lld_nand.o
-spectra-$(CONFIG_MRST_NAND_HW_DMA) += lld_cdma.o
-spectra-$(CONFIG_MRST_NAND_EMU) += lld_emu.o
-spectra-$(CONFIG_MRST_NAND_MTD) += lld_mtd.o
+spectra-$(CONFIG_SPECTRA_MRST_HW) += lld_nand.o
+spectra-$(CONFIG_SPECTRA_MRST_HW_DMA) += lld_cdma.o
+spectra-$(CONFIG_SPECTRA_EMU) += lld_emu.o
+spectra-$(CONFIG_SPECTRA_MTD) += lld_mtd.o
diff --git a/drivers/staging/spectra/spectraswconfig.h b/drivers/staging/spectra/spectraswconfig.h
index 557c091953d..17259469e95 100644
--- a/drivers/staging/spectra/spectraswconfig.h
+++ b/drivers/staging/spectra/spectraswconfig.h
@@ -45,10 +45,10 @@
#define DEBUG_BNDRY 0
/***** Product Feature Support *****/
-#define FLASH_EMU defined(CONFIG_MRST_NAND_EMU)
-#define FLASH_NAND defined(CONFIG_MRST_NAND_HW)
-#define FLASH_MTD defined(CONFIG_MRST_NAND_MTD)
-#define CMD_DMA defined(CONFIG_MRST_NAND_HW_DMA)
+#define FLASH_EMU defined(CONFIG_SPECTRA_EMU)
+#define FLASH_NAND defined(CONFIG_SPECTRA_MRST_HW)
+#define FLASH_MTD defined(CONFIG_SPECTRA_MTD)
+#define CMD_DMA defined(CONFIG_SPECTRA_MRST_HW_DMA)
#define SPECTRA_PARTITION_ID 0