Remove hart count check because the bootable hart count
may be varied according to the harts declared in Device
tree and PcdBootableHartNumber PCD.

Cc: Sunil V L <suni...@ventanamicro.com>
Cc: Daniel Schaefer <daniel.schae...@hpe.com>

Signed-off-by: Abner Chang <abner.ch...@hpe.com>
---
 .../U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c  | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git 
a/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c 
b/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c
index bc1b252946..c147028add 100644
--- a/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c
+++ b/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c
@@ -75,14 +75,7 @@ CreateU5MCCoreplexProcessorSpecificDataHob (
   }
   DEBUG ((DEBUG_INFO, "Support %d U5 application cores on U5 platform\n", 
HartIdNumber - (UINT32)MCSupport));
 
-  if (HartIdNumber != FixedPcdGet32 (PcdHartCount)) {
-    DEBUG ((DEBUG_ERROR, "Improper core settings...\n"));
-    DEBUG ((DEBUG_ERROR, "    PcdHartCount\n"));
-    DEBUG ((DEBUG_ERROR, "    PcdNumberofU5Cores\n"));
-    DEBUG ((DEBUG_ERROR, "    PcdE5MCSupported\n\n"));
-    ASSERT (FALSE);
-  }
-  return Status;
+  return EFI_SUCCESS;
 }
 
 /**
-- 
2.31.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82334): https://edk2.groups.io/g/devel/message/82334
Mute This Topic: https://groups.io/mt/86435687/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to