Commit be0b86c
committed
mtd: spinand: Gather all the bus interface steps in one single function
Writing the quad enable bit in one helper and doing the chip
configuration in another does not make much sense from a bus interface
setup point of view.
Instead, let's create a broader helper which is going to be in charge of
all the bus configuration steps at once. This will specifically allow to
transition to octal DDR mode, and even fallback to quad (if suppoorted)
or single mode otherwise.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>1 parent ef1ed29 commit be0b86c
1 file changed
Lines changed: 37 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
| 265 | + | |
265 | 266 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 267 | | |
277 | 268 | | |
278 | 269 | | |
| |||
1392 | 1383 | | |
1393 | 1384 | | |
1394 | 1385 | | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
1398 | | - | |
1399 | | - | |
1400 | | - | |
1401 | 1386 | | |
1402 | 1387 | | |
1403 | 1388 | | |
| |||
1600 | 1585 | | |
1601 | 1586 | | |
1602 | 1587 | | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1603 | 1613 | | |
1604 | 1614 | | |
1605 | 1615 | | |
| |||
1610 | 1620 | | |
1611 | 1621 | | |
1612 | 1622 | | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | 1623 | | |
1618 | 1624 | | |
1619 | 1625 | | |
| |||
1626 | 1632 | | |
1627 | 1633 | | |
1628 | 1634 | | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
1629 | 1639 | | |
1630 | 1640 | | |
1631 | 1641 | | |
1632 | 1642 | | |
1633 | | - | |
| 1643 | + | |
1634 | 1644 | | |
1635 | 1645 | | |
1636 | 1646 | | |
1637 | | - | |
| 1647 | + | |
1638 | 1648 | | |
1639 | 1649 | | |
1640 | | - | |
1641 | | - | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
1642 | 1654 | | |
1643 | 1655 | | |
1644 | 1656 | | |
| |||
0 commit comments