commit | a73c91548dac3fe29a485c90b717ef46b3c05fa4 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sat Oct 26 22:16:24 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 31 10:49:47 2024 -0600 |
tree | 1b1b8838d6a785f59a683b05220c82fb00125f87 | |
parent | 14888153c9a10d580c5be70ef2963a1b6de87719 [diff] |
mtd: spi-nor: Rewrite rem_bank_len calculation Rewrite the code to make it clear exactly where the SNOR_F_HAS_PARALLEL flag leads to *2 and /2 operation compared to regular code path. No functional change. Fixes: 5d40b3d384dc ("mtd: spi-nor: Add parallel and stacked memories support") Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>