mtd: m25p80: remove obsolete FIXME
authorBrian Norris <computersforpeace@gmail.com>
Tue, 30 Jul 2013 06:57:57 +0000 (23:57 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:33:04 +0000 (23:33 -0800)
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>
drivers/mtd/devices/m25p80.c

index 63a95ac89f18460f6abb0950894eccb756203bbe..7c4cbad2e981cf0eab6100e18d3985f831a944f4 100644 (file)
@@ -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;