pmb: flasher: add support for rk partitions (MR 2165)

This commit is contained in:
Caleb Connolly 2022-02-05 00:59:24 +00:00 committed by Oliver Smith
parent 884174ce3c
commit 18a16c7899
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,14 @@ def variables(args, flavor, method):
or None
_partition_dtbo = args.deviceinfo["flash_fastboot_partition_dtbo"]\
or None
# Require that the partitions are specified in deviceinfo for now
elif method.startswith("rkdeveloptool"):
_partition_kernel = args.deviceinfo["flash_rk_partition_kernel"]\
or None
_partition_system = args.deviceinfo["flash_rk_partition_system"]\
or None
_partition_vbmeta = None
_partition_dtbo = None
else:
_partition_kernel = args.deviceinfo["flash_heimdall_partition_kernel"]\
or "KERNEL"