Commit 9539d12
mtd: spi-nor: get rid of non-power-of-2 page size handling
The Xilinx flashes were the only users of page sizes that were not power
of 2. Support for them has been dropped, thus we can also get rid of the
special page size handling for it.
Signed-off-by: Michael Walle <mwalle@kernel.org>
Acked-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
[pratyush@kernel.org: fixup minor typos and grammar in commit message]
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20240419141249.609534-3-mwalle@kernel.org1 parent be1d1a7 commit 9539d12
2 files changed
Lines changed: 11 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1463 | 1463 | | |
1464 | 1464 | | |
1465 | 1465 | | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | | - | |
1474 | 1466 | | |
1475 | 1467 | | |
1476 | 1468 | | |
1477 | 1469 | | |
1478 | 1470 | | |
1479 | 1471 | | |
1480 | 1472 | | |
1481 | | - | |
1482 | | - | |
1483 | 1473 | | |
1484 | 1474 | | |
1485 | 1475 | | |
| |||
2064 | 2054 | | |
2065 | 2055 | | |
2066 | 2056 | | |
2067 | | - | |
2068 | | - | |
2069 | 2057 | | |
2070 | 2058 | | |
2071 | 2059 | | |
| |||
2098 | 2086 | | |
2099 | 2087 | | |
2100 | 2088 | | |
2101 | | - | |
| 2089 | + | |
2102 | 2090 | | |
2103 | 2091 | | |
2104 | 2092 | | |
| |||
2111 | 2099 | | |
2112 | 2100 | | |
2113 | 2101 | | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
2119 | | - | |
2120 | | - | |
2121 | | - | |
2122 | | - | |
2123 | | - | |
2124 | | - | |
2125 | | - | |
2126 | | - | |
| 2102 | + | |
2127 | 2103 | | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
| 2104 | + | |
2131 | 2105 | | |
2132 | 2106 | | |
2133 | 2107 | | |
| |||
3054 | 3028 | | |
3055 | 3029 | | |
3056 | 3030 | | |
3057 | | - | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
3058 | 3039 | | |
3059 | 3040 | | |
3060 | 3041 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | 369 | | |
373 | 370 | | |
374 | 371 | | |
| |||
403 | 400 | | |
404 | 401 | | |
405 | 402 | | |
406 | | - | |
407 | 403 | | |
408 | 404 | | |
409 | 405 | | |
| |||
0 commit comments