--- zzzz-none-000/linux-2.6.28.10/drivers/mtd/nand/Kconfig 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/drivers/mtd/nand/Kconfig 2011-04-04 12:24:55.000000000 +0000 @@ -365,6 +365,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 +428,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