Commit ca53577
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 e4665e8 commit ca53577
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1655 | 1655 | | |
1656 | 1656 | | |
1657 | 1657 | | |
1658 | | - | |
| 1658 | + | |
1659 | 1659 | | |
1660 | 1660 | | |
1661 | 1661 | | |
| |||
1692 | 1692 | | |
1693 | 1693 | | |
1694 | 1694 | | |
1695 | | - | |
1696 | | - | |
1697 | | - | |
1698 | | - | |
1699 | | - | |
| 1695 | + | |
| 1696 | + | |
1700 | 1697 | | |
1701 | | - | |
1702 | | - | |
| 1698 | + | |
| 1699 | + | |
1703 | 1700 | | |
1704 | 1701 | | |
1705 | 1702 | | |
| |||
0 commit comments