--- zzzz-none-000/linux-2.6.28.10/drivers/mtd/nand/Kconfig 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/drivers/mtd/nand/Kconfig 2012-02-14 14:37:49.000000000 +0000 @@ -90,6 +90,13 @@ This enables the driver for the NAND flash controller on the AMD/Alchemy 1550 SOC. +config MTD_NAND_FUSIV + tristate "FUSIV NAND Controller support" + depends on MTD_NAND && MACH_FUSIV && FUSIV_VX185 + help + This enables the driver for the NAND flash controller on the + Fusiv VX185 SOC. + config MTD_NAND_BF5XX tristate "Blackfin on-chip NAND Flash Controller driver" depends on (BF54x || BF52x) && MTD_NAND @@ -365,6 +372,14 @@ The simulator may simulate various NAND flash chips for the MTD nand layer. + + + +if LANTIQ +#IFX plaform specific +source "drivers/mtd/nand/Kconfig.ifx" +endif + config MTD_NAND_PLATFORM tristate "Support for generic platform NAND driver" depends on MTD_NAND @@ -420,4 +435,91 @@ Several Renesas SuperH CPU has FLCTL. This option enables support for NAND Flash using FLCTL. This driver support SH7723. +# AVM Nand Zeuch +config MTD_NAND_DIRECT_AVM + tristate "Support for the AVM Direct-NAND low level Interface" + depends on MTD_NAND && MTD_PARTITIONS && MIPS_FUSIV + help + Support for the Direct-NAND Interface by AVM + +config MTD_NAND_COMPLETE_AVM + tristate "Support for the complete AVM NAND driver" + depends on MTD_NAND && MTD_PARTITIONS && !MTD_NAND_DIRECT_AVM + +choice + prompt "Type of AVM NAND Interface" + depends on MIPS_FUSIV && (MTD_NAND_DIRECT_AVM || MTD_NAND_COMPLETE_AVM) + default MTD_NAND_DIRECT_AVM_ADDR + +config MTD_NAND_DIRECT_AVM_ADDR + bool "Direct NAND controlled via addressmap" + +config MTD_NAND_DIRECT_AVM_GPIO + bool "Direct NAND controlled via gpio" + +endchoice + +config MTD_NAND_DIRECT_AVM_DATA + hex "Base of the data reagion used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && ( MTD_NAND_DIRECT_AVM || MTD_NAND_COMPLETE_AVM ) + default 0x1E000000 + help + Address used by the AVM Direct-NAND Interface for data access + +config MTD_NAND_DIRECT_AVM_CONTROL + hex "Base of the control reagion used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && MTD_NAND_DIRECT_AVM_ADDR + default 0xBC000000 + help + Address used by the AVM Direct-NAND Interface for flash control + +config MTD_NAND_DIRECT_AVM_READY0 + int "GPIO number for the ready signal for nand chip 0 used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && ( MTD_NAND_DIRECT_AVM_ADDR || MTD_NAND_DIRECT_AVM_GPIO ) + default 21 + help + GPIO number for the ready signal for nand chip 0 used by the AVM Direct-NAND Interface for flash control + +config MTD_NAND_DIRECT_AVM_READY1 + int "GPIO number for the ready signal for nand chip 1 used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && MTD_NAND_DIRECT_AVM_GPIO + default 7 + help + GPIO number for the ready signal for nand chip 1 used by the AVM Direct-NAND Interface for flash control + +config MTD_NAND_DIRECT_AVM_NCE0 + int "GPIO number for the /CE signal for chip 0 used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && MTD_NAND_DIRECT_AVM_GPIO + default 16 + help + GPIO number for the /CE signal for chip 0 used by the AVM Direct-NAND Interface for flash control + +config MTD_NAND_DIRECT_AVM_NCE1 + int "GPIO number for the /CE signal for chip 1 used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && MTD_NAND_DIRECT_AVM_GPIO + default 17 + help + GPIO number for the /CE signal for chip 1 used by the AVM Direct-NAND Interface for flash control + +config MTD_NAND_DIRECT_AVM_ALE + int "GPIO number for the ALE signal used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && MTD_NAND_DIRECT_AVM_GPIO + default 19 + help + GPIO number for the ALE signal used by the AVM Direct-NAND Interface for flash control + +config MTD_NAND_DIRECT_AVM_CLE + int "GPIO number for the CLE signal used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && MTD_NAND_DIRECT_AVM_GPIO + default 18 + help + GPIO number for the CLE signal used by the AVM Direct-NAND Interface for flash control + +config MTD_NAND_DIRECT_AVM_NWP + int "GPIO number for the /WP signal used by the AVM Direct-NAND Interface" + depends on MTD_NAND && MTD_PARTITIONS && MTD_NAND_DIRECT_AVM_GPIO + default 19 + help + GPIO number for the /WP signal used by the AVM Direct-NAND Interface for flash control + endif # MTD_NAND