diff options
author | Gabe Black <gabeblack@chromium.org> | 2011-09-02 02:06:58 -0700 |
---|---|---|
committer | Gabe Black (Do Not Use) <gabeblack@google.com> | 2011-09-02 17:19:17 -0700 |
commit | bd3dcff61ab595b460a418d828ac35b874ea29f9 (patch) | |
tree | aeb35f9697959b81f32c99a3cb94e7ddd6d211fb /drivers/mtd | |
parent | 931058bc52abea0caeec59f4b00c742d45986056 (diff) |
Rename the NO_FAST_READ option to be more generic.
The CONFIG_SPI_FLASH_MACRONIX_NO_FAST_READ currently only applies to the
Macronix flash chip driver as the name suggests. This same option, however,
could be renamed something more generic and reused in other drivers. This
change does that by dropping MACRONIX from the option.
TEST=With this and other changes, built and vbooted on x86-alex, stumpy.
BUG=chrome-os-partner:5829
Signed-off-by: Gabe Black <gabeblack@google.com>
Change-Id: I5878877025baba44b09bce9507b528ba243d132b
Reviewed-on: http://gerrit.chromium.org/gerrit/7160
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Gabe Black (Do Not Use) <gabeblack@google.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/spi/macronix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index 9bb43893cb8..186aea2981a 100644 --- a/drivers/mtd/spi/macronix.c +++ b/drivers/mtd/spi/macronix.c @@ -212,7 +212,7 @@ struct spi_flash *spi_flash_probe_macronix(struct spi_slave *spi, u8 *idcode) mcx->flash.write = macronix_write; mcx->flash.erase = macronix_erase; -#ifdef CONFIG_SPI_FLASH_MACRONIX_NO_FAST_READ +#ifdef CONFIG_SPI_FLASH_NO_FAST_READ mcx->flash.read = spi_flash_cmd_read_slow; #else mcx->flash.read = spi_flash_cmd_read_fast; |