Commit b42d827
committed
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 0dc7aae commit b42d827
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1658 | 1658 | | |
1659 | 1659 | | |
1660 | 1660 | | |
1661 | | - | |
| 1661 | + | |
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
| |||
1695 | 1695 | | |
1696 | 1696 | | |
1697 | 1697 | | |
1698 | | - | |
1699 | | - | |
1700 | | - | |
1701 | | - | |
1702 | | - | |
| 1698 | + | |
| 1699 | + | |
1703 | 1700 | | |
1704 | | - | |
1705 | | - | |
| 1701 | + | |
| 1702 | + | |
1706 | 1703 | | |
1707 | 1704 | | |
1708 | 1705 | | |
| |||
0 commit comments