Commit 334417a
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 4d1e0d2 commit 334417a
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
1664 | | - | |
| 1664 | + | |
1665 | 1665 | | |
1666 | 1666 | | |
1667 | 1667 | | |
| |||
1698 | 1698 | | |
1699 | 1699 | | |
1700 | 1700 | | |
1701 | | - | |
1702 | | - | |
1703 | | - | |
1704 | | - | |
1705 | | - | |
| 1701 | + | |
| 1702 | + | |
1706 | 1703 | | |
1707 | | - | |
1708 | | - | |
| 1704 | + | |
| 1705 | + | |
1709 | 1706 | | |
1710 | 1707 | | |
1711 | 1708 | | |
| |||
0 commit comments