summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseFdtLib/FdtLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseFdtLib/FdtLib.c')
-rw-r--r--MdePkg/Library/BaseFdtLib/FdtLib.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseFdtLib/FdtLib.c b/MdePkg/Library/BaseFdtLib/FdtLib.c
index b1ae2a387c..1b1d21f502 100644
--- a/MdePkg/Library/BaseFdtLib/FdtLib.c
+++ b/MdePkg/Library/BaseFdtLib/FdtLib.c
@@ -503,3 +503,14 @@ FdtNodeOffsetByCompatible (
{
return fdt_node_offset_by_compatible (Fdt, StartOffset, Compatible);
}
+
+/* Debug functions. */
+CONST
+CHAR8
+*
+FdtStrerror (
+ IN INT32 ErrVal
+ )
+{
+ return fdt_strerror (ErrVal);
+}