diff options
author | Damien Zammit <damien@zamaudio.com> | 2017-09-03 21:09:34 +1000 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-13 19:25:42 +0000 |
commit | b92f6d36dfc7f6dc2a9fb0551739feb3dc3ea04c (patch) | |
tree | 9ab0bc9126d5fe4da8ac0ee716c16ccd0043b4e2 /src/vendorcode | |
parent | 0025247171cff79fc955f70ed127a3de49c68d28 (diff) | |
download | coreboot-b92f6d36dfc7f6dc2a9fb0551739feb3dc3ea04c.tar.gz coreboot-b92f6d36dfc7f6dc2a9fb0551739feb3dc3ea04c.tar.bz2 coreboot-b92f6d36dfc7f6dc2a9fb0551739feb3dc3ea04c.zip |
agesa/f15tn: Remove unnecessary logic op
One liner that fixes a warning with clang
Change-Id: I4d7dfaa5fcf0e95acd650e4c129e0899b5d68f09
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Reviewed-on: https://review.coreboot.org/21361
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vendorcode')
-rw-r--r-- | src/vendorcode/amd/agesa/f15tn/Proc/Fch/Gec/Family/Hudson2/Hudson2GecService.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Gec/Family/Hudson2/Hudson2GecService.c b/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Gec/Family/Hudson2/Hudson2GecService.c index 23d7cb35e218..624c2fdc283c 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Gec/Family/Hudson2/Hudson2GecService.c +++ b/src/vendorcode/amd/agesa/f15tn/Proc/Fch/Gec/Family/Hudson2/Hudson2GecService.c @@ -67,7 +67,7 @@ FchSwInitGecBootRom ( LocalCfgPtr = (FCH_DATA_BLOCK *) FchDataPtr; StdHeader = LocalCfgPtr->StdHeader; - if ( !LocalCfgPtr->Gec.PtrDynamicGecRomAddress == 0 ) { + if ( LocalCfgPtr->Gec.PtrDynamicGecRomAddress ) { GecRomAddress = LocalCfgPtr->Gec.PtrDynamicGecRomAddress; GecShadowRomAddress = (VOID*) (UINTN) LocalCfgPtr->Gec.GecShadowRomBase; FchCopyMem (GecShadowRomAddress, GecRomAddress, 0x100); |