spectra: Rename config options

This is the Spectra driver, so use CONFIG_SPECTRA.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
David Woodhouse 2010-06-08 18:27:31 +01:00
parent 8ae4f63623
commit bf46b9a92e
4 changed files with 23 additions and 23 deletions

View File

@ -22,7 +22,7 @@ obj-$(CONFIG_R8187SE) += rtl8187se/
obj-$(CONFIG_RTL8192SU) += rtl8192su/ obj-$(CONFIG_RTL8192SU) += rtl8192su/
obj-$(CONFIG_RTL8192U) += rtl8192u/ obj-$(CONFIG_RTL8192U) += rtl8192u/
obj-$(CONFIG_RTL8192E) += rtl8192e/ obj-$(CONFIG_RTL8192E) += rtl8192e/
obj-$(CONFIG_MRST_NAND) += spectra/ obj-$(CONFIG_SPECTRA) += spectra/
obj-$(CONFIG_TRANZPORT) += frontier/ obj-$(CONFIG_TRANZPORT) += frontier/
obj-$(CONFIG_DREAM) += dream/ obj-$(CONFIG_DREAM) += dream/
obj-$(CONFIG_POHMELFS) += pohmelfs/ obj-$(CONFIG_POHMELFS) += pohmelfs/

View File

@ -1,40 +1,40 @@
menuconfig MRST_NAND menuconfig SPECTRA
tristate "Moorestown NAND Flash controller" tristate "Denali Spectra Flash Translation Layer"
depends on BLOCK depends on BLOCK
default n default n
---help--- ---help---
Enable the driver for the NAND Flash controller in Intel Moorestown Enable the FTL pseudo-filesystem used with the NAND Flash
Platform controller on Intel Moorestown Platform to pretend to be a disk
choice choice
prompt "Compile for" prompt "Compile for"
depends on MRST_NAND depends on SPECTRA
default MRST_NAND_HW default SPECTRA_MRST_HW
config MRST_NAND_HW config SPECTRA_MRST_HW
bool "Actual hardware mode" bool "Moorestown hardware mode"
help help
Driver communicates with the actual hardware's register interface. Driver communicates with the Moorestown hardware's register interface.
in DMA mode. in DMA mode.
config MRST_NAND_MTD config SPECTRA_MTD
bool "Linux MTD mode" bool "Linux MTD mode"
depends on MTD depends on MTD
help help
Driver communicates with the kernel MTD subsystem instead of its own Driver communicates with the kernel MTD subsystem instead of its own
built-in hardware driver. built-in hardware driver.
config MRST_NAND_EMU config SPECTRA_EMU
bool "RAM emulator testing" bool "RAM emulator testing"
help help
Driver emulates Flash on a RAM buffer and / or disk file. Useful to test the behavior of FTL layer. Driver emulates Flash on a RAM buffer and / or disk file. Useful to test the behavior of FTL layer.
endchoice endchoice
config MRST_NAND_HW_DMA config SPECTRA_MRST_HW_DMA
bool bool
default n default n
depends on MRST_NAND_HW depends on SPECTRA_MRST_HW
help help
Use DMA for native hardware interface. Use DMA for native hardware interface.

View File

@ -2,10 +2,10 @@
# Makefile of Intel Moorestown NAND controller driver # 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-y := ffsport.o flash.o lld.o
spectra-$(CONFIG_MRST_NAND_HW) += lld_nand.o spectra-$(CONFIG_SPECTRA_MRST_HW) += lld_nand.o
spectra-$(CONFIG_MRST_NAND_HW_DMA) += lld_cdma.o spectra-$(CONFIG_SPECTRA_MRST_HW_DMA) += lld_cdma.o
spectra-$(CONFIG_MRST_NAND_EMU) += lld_emu.o spectra-$(CONFIG_SPECTRA_EMU) += lld_emu.o
spectra-$(CONFIG_MRST_NAND_MTD) += lld_mtd.o spectra-$(CONFIG_SPECTRA_MTD) += lld_mtd.o

View File

@ -45,10 +45,10 @@
#define DEBUG_BNDRY 0 #define DEBUG_BNDRY 0
/***** Product Feature Support *****/ /***** Product Feature Support *****/
#define FLASH_EMU defined(CONFIG_MRST_NAND_EMU) #define FLASH_EMU defined(CONFIG_SPECTRA_EMU)
#define FLASH_NAND defined(CONFIG_MRST_NAND_HW) #define FLASH_NAND defined(CONFIG_SPECTRA_MRST_HW)
#define FLASH_MTD defined(CONFIG_MRST_NAND_MTD) #define FLASH_MTD defined(CONFIG_SPECTRA_MTD)
#define CMD_DMA defined(CONFIG_MRST_NAND_HW_DMA) #define CMD_DMA defined(CONFIG_SPECTRA_MRST_HW_DMA)
#define SPECTRA_PARTITION_ID 0 #define SPECTRA_PARTITION_ID 0