vendorcode/amd/agesa: f15tn & f16kb: fix assert
Fixes warning by GCC 7.1: note: did you mean to use logical not? Change-Id: If8167c6fe88135ae89eb795eeda09e6937b1684f Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20698 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
99428566a6
commit
7d96565190
|
@ -698,7 +698,7 @@ IdsRunCodeOnCoreEarly (
|
|||
IDS_EARLY_AP_TASK IdsEarlyTask;
|
||||
|
||||
IdentifyCore (StdHeader, &BscSocket, &IgnoredModule, &BscCoreNum, &IgnoredSts);
|
||||
ASSERT (~((Socket == BscSocket) && (Core == BscCoreNum)));
|
||||
ASSERT (!((Socket == BscSocket) && (Core == BscCoreNum)));
|
||||
if ((Socket == BscSocket) || (Core == 0)) {
|
||||
ApUtilRunCodeOnSocketCore (Socket, Core, ApTask, StdHeader);
|
||||
} else {
|
||||
|
|
|
@ -781,7 +781,7 @@ IdsRunCodeOnCoreEarly (
|
|||
IDS_EARLY_AP_TASK IdsEarlyTask;
|
||||
|
||||
IdentifyCore (StdHeader, &BscSocket, &IgnoredModule, &BscCoreNum, &IgnoredSts);
|
||||
ASSERT (~((Socket == BscSocket) && (Core == BscCoreNum)));
|
||||
ASSERT (!((Socket == BscSocket) && (Core == BscCoreNum)));
|
||||
if ((Socket == BscSocket) || (Core == 0)) {
|
||||
ApUtilRunCodeOnSocketCore (Socket, Core, ApTask, StdHeader);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue