summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Lin <benny.lin@intel.com>2023-05-04 16:48:10 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-05-05 03:45:21 +0000
commit10416bf46e7e7b82472c3f1205572c6e628fcc01 (patch)
treece5494ca3121e03af3472fcba026a447cd0982a4
parentd992a05ade3d1bebc6e7a81aaf700286e0e217c8 (diff)
downloadedk2-10416bf46e7e7b82472c3f1205572c6e628fcc01.tar.gz
edk2-10416bf46e7e7b82472c3f1205572c6e628fcc01.tar.bz2
edk2-10416bf46e7e7b82472c3f1205572c6e628fcc01.zip
Tianocore: Support FDT library.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4392 Add FDT support in EDK2 by submodule 3rd party libfdt (https://github.com/devicetree-org/pylibfdt/tree/main/libfdt) Add submodule libfdt and update ReadMe for the license. Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Benny Lin <benny.lin@intel.com> Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
-rw-r--r--.gitmodules3
m---------MdePkg/Library/BaseFdtLib/libfdt0
-rw-r--r--ReadMe.rst1
3 files changed, 4 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index fe8a43be93..6211c59724 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -26,3 +26,6 @@
[submodule "UnitTestFrameworkPkg/Library/SubhookLib/subhook"]
path = UnitTestFrameworkPkg/Library/SubhookLib/subhook
url = https://github.com/Zeex/subhook.git
+[submodule "MdePkg/Library/BaseFdtLib/libfdt"]
+ path = MdePkg/Library/BaseFdtLib/libfdt
+ url = https://github.com/devicetree-org/pylibfdt.git
diff --git a/MdePkg/Library/BaseFdtLib/libfdt b/MdePkg/Library/BaseFdtLib/libfdt
new file mode 160000
+Subproject cfff805481bdea27f900c32698171286542b8d3
diff --git a/ReadMe.rst b/ReadMe.rst
index 91b9cf3c5e..d46c534229 100644
--- a/ReadMe.rst
+++ b/ReadMe.rst
@@ -96,6 +96,7 @@ that are covered by additional licenses.
- `UnitTestFrameworkPkg/Library/GoogleTestLib/googletest <https://github.com/google/googletest/blob/86add13493e5c881d7e4ba77fb91c1f57752b3a4/LICENSE>`__
- `UnitTestFrameworkPkg/Library/SubhookLib/subhook <https://github.com/Zeex/subhook/blob/83d4e1ebef3588fae48b69a7352cc21801cb70bc/LICENSE.txt>`__
- `RedfishPkg/Library/JsonLib/jansson <https://github.com/akheron/jansson/blob/2882ead5bb90cf12a01b07b2c2361e24960fae02/LICENSE>`__
+- `MdePkg/Library/BaseFdtLib/libfdt <https://github.com/devicetree-org/pylibfdt/blob/f39368a217496d32c4091a2dba4045b60649e3a5/BSD-2-Clause>`__
The EDK II Project is composed of packages. The maintainers for each package
are listed in `Maintainers.txt <Maintainers.txt>`__.