diff options
author | Nickle Wang <nicklew@nvidia.com> | 2024-02-02 07:59:52 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-29 03:25:18 +0000 |
commit | d4c76fa17d9caccb48926a20404512cc7c371684 (patch) | |
tree | ca320e4538a9f2373e079099a192fc7cb3c909e9 /RedfishPkg | |
parent | 422dfaab31092819651d03fce5a7087b0d588b36 (diff) | |
download | edk2-d4c76fa17d9caccb48926a20404512cc7c371684.tar.gz |
RedfishPkg/RedfishDebugLib: use RedfishHttpLib
Remove RedfishLib and use RedfishHttpLib for debug printing
Redfish response data.
Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Cc: Nick Ramirez <nramirez@nvidia.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
Reviewed-by: Igor Kulchytskyy <igork@ami.com>
Diffstat (limited to 'RedfishPkg')
-rw-r--r-- | RedfishPkg/Include/Library/RedfishDebugLib.h | 2 | ||||
-rw-r--r-- | RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c | 1 | ||||
-rw-r--r-- | RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/RedfishPkg/Include/Library/RedfishDebugLib.h b/RedfishPkg/Include/Library/RedfishDebugLib.h index 3430cf1d14..ad7a697586 100644 --- a/RedfishPkg/Include/Library/RedfishDebugLib.h +++ b/RedfishPkg/Include/Library/RedfishDebugLib.h @@ -11,9 +11,9 @@ #define REDFISH_DEBUG_LIB_H_
#include <Uefi.h>
+#include <RedfishServiceData.h>
#include <Library/HiiUtilityLib.h>
#include <Library/JsonLib.h>
-#include <Library/RedfishLib.h>
#include <Protocol/EdkIIRedfishPlatformConfig.h>
diff --git a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c index 3728f51213..8b0425b8c3 100644 --- a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c +++ b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c @@ -13,6 +13,7 @@ #include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/RedfishDebugLib.h>
+#include <Library/RedfishHttpLib.h>
#include <Library/UefiLib.h>
#ifndef IS_EMPTY_STRING
diff --git a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf index 048d27c6dc..d468bb213b 100644 --- a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf +++ b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf @@ -1,7 +1,7 @@ ## @file
# INF file for Redfish debug library.
#
-# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+# Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@@ -32,7 +32,7 @@ DebugLib
JsonLib
MemoryAllocationLib
- RedfishLib
+ RedfishHttpLib
UefiLib
[Depex]
|