Fix typo in configuration variables: MP25P should M25P

This commit is contained in:
Gregory Nutt 2013-05-01 12:04:39 -06:00
parent 9d62b7d1e7
commit dc9c0eacf2
6 changed files with 13 additions and 13 deletions

View File

@ -103,9 +103,9 @@ CONFIG_UART_PARITY=0
CONFIG_UART_2STOP=0 CONFIG_UART_2STOP=0
# #
# MP25x Configuration # M25Px Configuration
# #
CONFIG_MP25P_SPIMODE=3 CONFIG_M25P_SPIMODE=3
# #
# General build options # General build options

View File

@ -51,7 +51,7 @@
# include <nuttx/mmcsd.h> # include <nuttx/mmcsd.h>
#endif #endif
#ifdef CONFIG_MTD_MP25P #ifdef CONFIG_MTD_M25P
# include <nuttx/mtd.h> # include <nuttx/mtd.h>
#endif #endif

View File

@ -102,7 +102,7 @@ void weak_function stm32_spiinitialize(void)
{ {
#ifdef CONFIG_STM32_SPI3 #ifdef CONFIG_STM32_SPI3
#ifdef CONFIG_MTD_MP25P #ifdef CONFIG_MTD_M25P
(void)stm32_configgpio(GPIO_CS_FLASH); /* FLASH chip select */ (void)stm32_configgpio(GPIO_CS_FLASH); /* FLASH chip select */
stm32_gpiowrite(GPIO_CS_FLASH, 1); /* Ensure the CS is inactive */ stm32_gpiowrite(GPIO_CS_FLASH, 1); /* Ensure the CS is inactive */
#endif #endif
@ -155,7 +155,7 @@ void stm32_spi3select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool sele
{ {
spidbg("devid: %d CS: %s\n", (int)devid, selected ? "assert" : "de-assert"); spidbg("devid: %d CS: %s\n", (int)devid, selected ? "assert" : "de-assert");
#if defined(CONFIG_MTD_MP25P) #if defined(CONFIG_MTD_M25P)
if (devid == SPIDEV_FLASH) if (devid == SPIDEV_FLASH)
{ {
stm32_gpiowrite(GPIO_CS_FLASH, !selected); stm32_gpiowrite(GPIO_CS_FLASH, !selected);

View File

@ -417,12 +417,12 @@ CONFIG_RAMMTD_ERASESTATE=0xff
CONFIG_RAMMTD_SMART=y CONFIG_RAMMTD_SMART=y
# CONFIG_MTD_AT24XX is not set # CONFIG_MTD_AT24XX is not set
# CONFIG_MTD_AT45DB is not set # CONFIG_MTD_AT45DB is not set
CONFIG_MTD_MP25P=y CONFIG_MTD_M25P=y
CONFIG_MP25P_SPIMODE=0 CONFIG_M25P_SPIMODE=0
CONFIG_MP25P_MANUFACTURER=0x1C CONFIG_M25P_MANUFACTURER=0x1C
CONFIG_MP25P_MEMORY_TYPE=0x31 CONFIG_M25P_MEMORY_TYPE=0x31
CONFIG_MP25P_SUBSECTOR_ERASE=y CONFIG_M25P_SUBSECTOR_ERASE=y
CONFIG_MP25P_BYTEWRITE=y CONFIG_M25P_BYTEWRITE=y
CONFIG_MTD_SMART=y CONFIG_MTD_SMART=y
CONFIG_MTD_SMART_SECTOR_SIZE=512 CONFIG_MTD_SMART_SECTOR_SIZE=512
# CONFIG_MTD_RAMTRON is not set # CONFIG_MTD_RAMTRON is not set

View File

@ -214,7 +214,7 @@ CONFIG_RAMMTD_ERASESTATE=0xff
CONFIG_RAMMTD_FLASHSIM=y CONFIG_RAMMTD_FLASHSIM=y
# CONFIG_MTD_AT24XX is not set # CONFIG_MTD_AT24XX is not set
# CONFIG_MTD_AT45DB is not set # CONFIG_MTD_AT45DB is not set
# CONFIG_MTD_MP25P is not set # CONFIG_MTD_M25P is not set
# CONFIG_MTD_RAMTRON is not set # CONFIG_MTD_RAMTRON is not set
# CONFIG_MTD_SST25 is not set # CONFIG_MTD_SST25 is not set
# CONFIG_MTD_SST39FV is not set # CONFIG_MTD_SST39FV is not set

View File

@ -214,7 +214,7 @@ CONFIG_RAMMTD_ERASESTATE=0xff
CONFIG_RAMMTD_FLASHSIM=y CONFIG_RAMMTD_FLASHSIM=y
# CONFIG_MTD_AT24XX is not set # CONFIG_MTD_AT24XX is not set
# CONFIG_MTD_AT45DB is not set # CONFIG_MTD_AT45DB is not set
# CONFIG_MTD_MP25P is not set # CONFIG_MTD_M25P is not set
# CONFIG_MTD_RAMTRON is not set # CONFIG_MTD_RAMTRON is not set
# CONFIG_MTD_SST25 is not set # CONFIG_MTD_SST25 is not set
# CONFIG_MTD_SST39FV is not set # CONFIG_MTD_SST39FV is not set