Skip to content

Commit 801128c

Browse files
author
Ramya Darapuneni
committed
Corrected the check for max number of images.
Checking for Sub System List now instead of Image List.
1 parent 4e86c2a commit 801128c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

partitionheadertable-versal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ void VersalPartitionHeaderTable::Build(BootImage & bi, Binary & cache)
919919
{
920920
if (getenv("BOOTGEN_SKIP_MAX_PARTITIONS_CHECK") == NULL)
921921
{
922-
if (bi.imageList.size() > MAX_NUM_IMAGES_VERSAL)
922+
if (bi.subSysImageList.size() > MAX_NUM_IMAGES_VERSAL)
923923
{
924924
LOG_ERROR("The maximum number of images supported for Versal is %d.\n No. of images found : %d", MAX_NUM_IMAGES_VERSAL, bi.imageList.size());
925925
}

0 commit comments

Comments
 (0)