public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Support FDT library.
@ 2023-05-04 23:48 Chiu, Chasel
  2023-05-04 23:48 ` [PATCH v7 1/3] Tianocore: " Chiu, Chasel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Chiu, Chasel @ 2023-05-04 23:48 UTC (permalink / raw)
  To: devel
  Cc: Chasel Chiu, Michael D Kinney, Liming Gao, Zhiguang Liu,
	Sean Brogan, Michael Kubacki, Pedro Falcato, Benny Lin

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)
and refer to LibcLib implementation by Pedro.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Acked-by: Pedro Falcato <pedro.falcato@gmail.com>
Signed-off-by: Benny Lin <benny.lin@intel.com>


V7:
Update FdtLib.h comments to replace SwapBytes*() with CpuToFdt*()
and Fdt*ToCpu() provided by current library.
Benny Lin (3):
  Tianocore: Support FDT library.
  MdePkg: Support FDT library.
  .pytool: Support FDT library.

 MdePkg/Library/BaseFdtLib/FdtLib.c        | 404 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 .gitmodules                               |   3 +++
 .pytool/CISettings.py                     |   2 ++
 MdePkg/Include/Library/FdtLib.h           | 401 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf  |  62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni  |  14 ++++++++++++++
 MdePkg/Library/BaseFdtLib/LibFdtSupport.h |  99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/libfdt          |   1 +
 MdePkg/Library/BaseFdtLib/limits.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stdbool.h       |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stddef.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stdint.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stdlib.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/string.h        |  10 ++++++++++
 MdePkg/MdePkg.ci.yaml                     |  15 ++++++++++++++-
 MdePkg/MdePkg.dec                         |   4 ++++
 MdePkg/MdePkg.dsc                         |   1 +
 ReadMe.rst                                |   1 +
 19 files changed, 1239 insertions(+), 1 deletion(-)
 create mode 100644 MdePkg/Library/BaseFdtLib/FdtLib.c
 create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c
 create mode 100644 MdePkg/Include/Library/FdtLib.h
 create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
 create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni
 create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtSupport.h
 create mode 160000 MdePkg/Library/BaseFdtLib/libfdt
 create mode 100644 MdePkg/Library/BaseFdtLib/limits.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stdbool.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stddef.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stdint.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stdlib.h
 create mode 100644 MdePkg/Library/BaseFdtLib/string.h

-- 
2.35.0.windows.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-05  2:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 23:48 [PATCH v7 0/3] Support FDT library Chiu, Chasel
2023-05-04 23:48 ` [PATCH v7 1/3] Tianocore: " Chiu, Chasel
2023-05-04 23:48 ` [PATCH v7 2/3] MdePkg: " Chiu, Chasel
2023-05-04 23:48 ` [PATCH v7 3/3] .pytool: " Chiu, Chasel
2023-05-05  2:24 ` [PATCH v7 0/3] " Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox