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:
committed by
bigbiff
parent
dc2cf79bc2
commit
8e70a11ef9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user