summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/Library/MultiPlatformLib
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-06-28 21:25:38 +0800
committerdavid wei <david.wei@intel.com>2016-07-01 15:04:55 +0800
commitba53301f509fcd092f9d52b7c6e1f7428ec00176 (patch)
tree936c9197b9f3aa325bc596891a24bcbdca00d914 /Vlv2TbltDevicePkg/Library/MultiPlatformLib
parentf2ae1ef7ecf6d3124b9d7b2de0a6ca9558b0b4de (diff)
downloadedk2-platforms-ba53301f509fcd092f9d52b7c6e1f7428ec00176.tar.xz
Vlv2TbltDevicePkg: fix ASSERT_EFI_ERROR() typos
A number of code locations use ASSERT_EFI_ERROR (BooleanExpression) instead of ASSERT (BooleanExpression) Fix them. Cc: David Wei <david.wei@intel.com> Cc: Tim He <tim.he@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: David Wei <david.wei@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/Library/MultiPlatformLib')
-rw-r--r--Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c8
-rw-r--r--Vlv2TbltDevicePkg/Library/MultiPlatformLib/PlatformInfoHob.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c b/Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c
index e38633b2b3..7d740df2fe 100644
--- a/Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c
+++ b/Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/BoardClkGens.c
@@ -69,10 +69,10 @@ ConfigureClockGenerator (
//
// Verify input arguments
//
- ASSERT_EFI_ERROR (ConfigurationTableLength >= 6);
- ASSERT_EFI_ERROR (ConfigurationTableLength <= MAX_CLOCK_GENERATOR_BUFFER_LENGTH);
- ASSERT_EFI_ERROR (ClockType < ClockGeneratorMax);
- ASSERT_EFI_ERROR (ConfigurationTable != NULL);
+ ASSERT (ConfigurationTableLength >= 6);
+ ASSERT (ConfigurationTableLength <= MAX_CLOCK_GENERATOR_BUFFER_LENGTH);
+ ASSERT (ClockType < ClockGeneratorMax);
+ ASSERT (ConfigurationTable != NULL);
//
// Read the clock generator
diff --git a/Vlv2TbltDevicePkg/Library/MultiPlatformLib/PlatformInfoHob.c b/Vlv2TbltDevicePkg/Library/MultiPlatformLib/PlatformInfoHob.c
index ebaaf40a16..9d77e86678 100644
--- a/Vlv2TbltDevicePkg/Library/MultiPlatformLib/PlatformInfoHob.c
+++ b/Vlv2TbltDevicePkg/Library/MultiPlatformLib/PlatformInfoHob.c
@@ -49,7 +49,7 @@ GetPlatformInfoHob (
//
// PlatformInfo PEIM should provide this HOB data, if not ASSERT and return error.
//
- ASSERT_EFI_ERROR (*PlatformInfoHob != NULL);
+ ASSERT (*PlatformInfoHob != NULL);
if (!(*PlatformInfoHob)) {
return EFI_NOT_FOUND;
}