Commit d81ad9c
aboot: Correct the logic for selecting partition for recovery mode
There is actually msm89xx devices with A/B partition scheme that
has a dedicated recovery partition on the market, even though
Android recommends to remove recovery partition for A/B devices.
It is not related with dynamic partitions at all, dynamic partitions
supports both non-A/B and A/B configurations.
Let's just automatically detect whether if a dedicated recovery
partition is present or not, and use it if it's present.1 parent 88c6e65 commit d81ad9c
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1611 | 1611 | | |
1612 | 1612 | | |
1613 | 1613 | | |
1614 | | - | |
| 1614 | + | |
1615 | 1615 | | |
1616 | 1616 | | |
1617 | 1617 | | |
| |||
1647 | 1647 | | |
1648 | 1648 | | |
1649 | 1649 | | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
| 1650 | + | |
| 1651 | + | |
1655 | 1652 | | |
1656 | | - | |
1657 | | - | |
| 1653 | + | |
| 1654 | + | |
1658 | 1655 | | |
1659 | 1656 | | |
1660 | 1657 | | |
| |||
0 commit comments