]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi-nor: Remove recently added set_4byte() call
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 26 Oct 2024 20:16:20 +0000 (22:16 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 31 Oct 2024 16:49:47 +0000 (10:49 -0600)
Remove undocumented set_4byte() call. This was added in commit
5d40b3d384dc ("mtd: spi-nor: Add parallel and stacked memories support")
without any explanation in the commit message. Remove it.

Fixes: 5d40b3d384dc ("mtd: spi-nor: Add parallel and stacked memories support")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/mtd/spi/spi-nor-core.c

index 0b131ad9aba1cb8282594ee7791e57be1d096d3b..3114281832bb269f9b37ceae14afc46d1a66dd46 100644 (file)
@@ -4593,7 +4593,6 @@ int spi_nor_scan(struct spi_nor *nor)
 #else
        /* Configure the BAR - discover bank cmds and read current bank */
        nor->addr_width = 3;
-       set_4byte(nor, info, 0);
        ret = read_bar(nor, info);
        if (ret < 0)
                return ret;