Use BOARD_SUPER_PARTITION_PARTITION_LIST for dynamic list

Simplifies code for retrieving this list rather than using
every possible specified super partition group

Change-Id: I1a3bd8e4b73ce18a176c74a52eb91d25709080f4
This commit is contained in:
Captain Throwback
2021-04-06 16:39:45 -04:00
committed by bigbiff
parent dc2cf79bc2
commit 8e70a11ef9
2 changed files with 4 additions and 11 deletions
+2 -2
View File
@@ -3393,8 +3393,8 @@ void TWPartitionManager::Setup_Super_Partition() {
superPartition->Mount_Point = "/super";
superPartition->Actual_Block_Device = superPart;
superPartition->Alternate_Block_Device = superPart;
#ifdef BOARD_DYNAMIC_PARTITIONS_PARTITION_LIST
superPartition->Backup_Display_Name = "Super (" BOARD_DYNAMIC_PARTITIONS_PARTITION_LIST ")";
#ifdef BOARD_SUPER_PARTITION_PARTITION_LIST
superPartition->Backup_Display_Name = "Super (" BOARD_SUPER_PARTITION_PARTITION_LIST ")";
#else
superPartition->Backup_Display_Name = "Super";
#endif