diff options
Diffstat (limited to 'src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c')
-rw-r--r-- | src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c b/src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c index 5d6e890300..018682e418 100644 --- a/src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c +++ b/src/vendorcode/intel/fsp1_0/baytrail/srx/fsphob.c @@ -136,11 +136,11 @@ GetNextHob ( // // Parse the HOB list until end of list or matching type is found. // - while (!END_OF_HOB_LIST (Hob)) { + while (!END_OF_HOB_LIST(Hob.Raw)) { if (Hob.Header->HobType == Type) { return Hob.Raw; } - Hob.Raw = GET_NEXT_HOB (Hob); + Hob.Raw = GET_NEXT_HOB(Hob.Raw); } return NULL; } @@ -177,7 +177,7 @@ GetNextGuidHob ( if (CompareGuid (Guid, &GuidHob.Guid->Name)) { break; } - GuidHob.Raw = GET_NEXT_HOB (GuidHob); + GuidHob.Raw = GET_NEXT_HOB(GuidHob.Raw); } return GuidHob.Raw; } |