public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Linus Liu" <linus.liu@intel.com>
To: devel@edk2.groups.io
Subject: [edk2-devel] [PATCH v3 0/6] *** FDT support in Universal Payload ***
Date: Thu, 23 May 2024 21:11:41 -0700	[thread overview]
Message-ID: <20240524041141.1398-1-linus.liu@intel.com> (raw)

To align with ecosystem common interface, the FDT support is added to Universal Payload)

PR : https://github.com/tianocore/edk2/pull/5669
V2: Update typo	[3/6] avalible ,[6/6] speciifc, HandOffhbo 
V3: Update cover letter content.

*** BLURB HERE ***

Linus Liu (6):
  MdePkg: Fix build error after enable FDT support.
  UefiPayloadPkg: Addd header files for FDT structure and function.
  UefiPayloadPkg: Support Debug function when Hob was not available.
  UefiPayloadPkg: Update PayloadLoader to suport FDT.
  UefiPayloadPkg: Add FDT Paser relative LIBs.
  UefiPayloadPkg: Update UefiPayload driver for FDT support.

 UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.c                             |   69 ++
 UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.c                         |  158 +++
 UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullLib.c                 |   51 +
 UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.c                 |    5 +
 UefiPayloadPkg/Library/FdtParserLib/FdtParserLib.c                                             |  622 ++++++++++++
 UefiPayloadPkg/{UefiPayloadEntry/UniversalPayloadEntry.c => Library/HobParseLib/HobParseLib.c} |  255 ++---
 UefiPayloadPkg/Library/PayloadEntryHobLib/Hob.c                                                |    7 +-
 UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.c                                       |    4 +
 UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c                                        | 1004 +++++++++++++++++++-
 UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c                                           |   71 +-
 UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.c                                     |  428 ++++-----
 UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c                                             |   12 +
 UefiPayloadPkg/UefiPayloadEntry/Ia32/{DxeLoadFunc.c => DxeLoadFuncFit.c}                       |   32 +-
 UefiPayloadPkg/UefiPayloadEntry/MemoryAllocation.c                                             |   50 +
 UefiPayloadPkg/UefiPayloadEntry/PrintHob.c                                                     |    6 +-
 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.c                                        |    6 -
 UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFunc.c                                              |   12 +
 UefiPayloadPkg/UefiPayloadEntry/X64/{DxeLoadFunc.c => DxeLoadFuncFit.c}                        |   31 +-
 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf                                                       |    7 +-
 UefiPayloadPkg/Include/Guid/UniversalPayloadBase.h                                             |    2 +
 UefiPayloadPkg/Include/Library/FdtParserLib.h                                                  |   64 ++
 UefiPayloadPkg/Include/UniversalPayload/DeviceTree.h                                           |   30 +
 UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.inf                           |   10 +
 UefiPayloadPkg/Library/BaseSerialPortLibHob/DxeBaseSerialPortLibHob.inf                        |   13 +-
 UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.inf                       |   46 +
 UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullLib.inf               |   33 +
 UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf                                            |   63 ++
 UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf                                             |   40 +
 UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf                                           |    1 +
 UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.inf                                      |   16 +-
 UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf                                         |   12 +
 UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf                                   |   20 +-
 UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h                                             |   68 ++
 UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf                                      |   16 +-
 UefiPayloadPkg/UefiPayloadPkg.dec                                                              |   22 +
 UefiPayloadPkg/UefiPayloadPkg.dsc                                                              |   29 +-
 36 files changed, 2841 insertions(+), 474 deletions(-)
 create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.c
 create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullLib.c
 create mode 100644 UefiPayloadPkg/Library/FdtParserLib/FdtParserLib.c
 copy UefiPayloadPkg/{UefiPayloadEntry/UniversalPayloadEntry.c => Library/HobParseLib/HobParseLib.c} (61%)
 copy UefiPayloadPkg/UefiPayloadEntry/Ia32/{DxeLoadFunc.c => DxeLoadFuncFit.c} (90%)
 copy UefiPayloadPkg/UefiPayloadEntry/X64/{DxeLoadFunc.c => DxeLoadFuncFit.c} (74%)
 create mode 100644 UefiPayloadPkg/Include/Library/FdtParserLib.h
 create mode 100644 UefiPayloadPkg/Include/UniversalPayload/DeviceTree.h
 create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.inf
 create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullLib.inf
 create mode 100644 UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf
 create mode 100644 UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf

-- 
2.39.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119192): https://edk2.groups.io/g/devel/message/119192
Mute This Topic: https://groups.io/mt/106275973/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



                 reply	other threads:[~2024-05-24  4:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240524041141.1398-1-linus.liu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox