diff options
author | Brian Norris <computersforpeace@gmail.com> | 2013-07-30 08:57:57 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-07 08:33:04 +0100 |
commit | 1a874e91018ea99d7f012a0824669aa9ed833d6f (patch) | |
tree | 5568af03a10c49838319846120da99a861c34856 /drivers/mtd/devices/m25p80.c | |
parent | mtd: m25p80: fix allocation size (diff) | |
download | linux-1a874e91018ea99d7f012a0824669aa9ed833d6f.tar.xz linux-1a874e91018ea99d7f012a0824669aa9ed833d6f.zip |
mtd: m25p80: remove obsolete FIXME
The FIXME and NOTE have already been fixed (we have FAST_READ support).
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Sourav Poddar <sourav.poddar@ti.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/mtd/devices/m25p80.c')
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 63a95ac89f18..7c4cbad2e981 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -367,10 +367,6 @@ static int m25p80_read(struct mtd_info *mtd, loff_t from, size_t len, spi_message_init(&m); memset(t, 0, (sizeof t)); - /* NOTE: - * OPCODE_FAST_READ (if available) is faster. - * Should add 1 byte DUMMY_BYTE. - */ t[0].tx_buf = flash->command; t[0].len = m25p_cmdsz(flash) + (flash->fast_read ? 1 : 0); spi_message_add_tail(&t[0], &m); @@ -388,11 +384,6 @@ static int m25p80_read(struct mtd_info *mtd, loff_t from, size_t len, return 1; } - /* FIXME switch to OPCODE_FAST_READ. It's required for higher - * clocks; and at this writing, every chip this driver handles - * supports that opcode. - */ - /* Set up the write data buffer. */ opcode = flash->read_opcode; flash->command[0] = opcode; |