aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers/mtd/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-07 14:50:57 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-07 14:50:57 +0000
commit74ed2d1e6065f0ab0c66677a49f0dd7f3e5a5384 (patch)
tree475053c4902016a15723805c0144bd74d9598f7e /nuttx/drivers/mtd/Kconfig
parent36e37f5da4d016e033006db34bc8abad1d299b5d (diff)
downloadpx4-firmware-74ed2d1e6065f0ab0c66677a49f0dd7f3e5a5384.tar.gz
px4-firmware-74ed2d1e6065f0ab0c66677a49f0dd7f3e5a5384.tar.bz2
px4-firmware-74ed2d1e6065f0ab0c66677a49f0dd7f3e5a5384.zip
Updated Kconfig files from Lzyy
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4569 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/drivers/mtd/Kconfig')
-rw-r--r--nuttx/drivers/mtd/Kconfig64
1 files changed, 64 insertions, 0 deletions
diff --git a/nuttx/drivers/mtd/Kconfig b/nuttx/drivers/mtd/Kconfig
index ae2bf3130..bda5afa84 100644
--- a/nuttx/drivers/mtd/Kconfig
+++ b/nuttx/drivers/mtd/Kconfig
@@ -2,3 +2,67 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+config MTD_AT24XX
+ bool "I2C-based AT24XX eeprom"
+ default n
+ select I2C
+
+config AT24XX_SIZE
+ int "at24xx size(kByte)"
+ default 64
+ depends on MTD_AT24XX
+
+config AT24XX_ADDR
+ hex "at24xx i2c address"
+ default 0x50
+ depends on MTD_AT24XX
+
+config MTD_AT45DB
+ bool "SPI-based AT45DB flash"
+ default n
+ select SPI
+
+config AT45DB_FREQUENCY
+ int "at45db frequency"
+ default 1000000
+ depends on MTD_AT45DB
+
+config AT45DB_PREWAIT
+ bool "enables higher performance write logic"
+ default y
+ depends on MTD_AT45DB
+
+config AT45DB_PWRSAVE
+ bool "enables power save"
+ default n
+ depends on MTD_AT45DB
+
+config MTD_MP25P
+ bool "SPI-based M25P1 falsh"
+ default n
+ select SPI
+
+config MP25P_SPIMODE
+ int "mp25p spi mode"
+ default 0
+ depends on MTD_MP25P
+
+config MP25P_MANUFACTURER
+ hex "mp25p manufacturers ID"
+ default 0x20
+ depends on MTD_MP25P
+ ---help---
+ Various manufacturers may have produced the parts. 0x20 is the manufacturer ID
+ for the STMicro MP25x serial FLASH. If, for example, you are using the a Macronix
+ International MX25 serial FLASH, the correct manufacturer ID would be 0xc2.
+
+config MTD_RAMTRON
+ bool "SPI-based RAMTRON NVRAM Devices FM25V10"
+ default n
+ select SPI
+ ---help---
+ SPI-based RAMTRON NVRAM Devices FM25V10
+
+config MTD_RAM
+ bool "Memory bus ram"
+ default n