]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: spi-nore-core: Fix 4KB erase opcode for s25fs-s
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Fri, 27 Sep 2024 01:11:17 +0000 (10:11 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 10 Oct 2024 14:12:12 +0000 (08:12 -0600)
commit2d7a35d90ef1a708add13b8d5e789d719715f6dc
tree8cedf8adb3c5019e396f8359c50e2fc88da1be74
parent7210de40a25a222043aed1348ec667a5ccc204b6
mtd: spi-nore-core: Fix 4KB erase opcode for s25fs-s

The correct 4KB erase opcode should be selected based on the address width
currently used.

Fixes: 562d166a13 ("mtd: spi-nor-core: Add fixups for s25fs512s")
Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
drivers/mtd/spi/spi-nor-core.c