public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org
Cc: leif.lindholm@linaro.org, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH v3 edk2-platforms 0/2] Move ArmPlatformPkg stuff into edk2-platforms
Date: Mon,  4 Dec 2017 22:12:33 +0000	[thread overview]
Message-ID: <20171204221235.11807-1-ard.biesheuvel@linaro.org> (raw)

This v3 series contains the remaining patches that move drivers and other code that
is highly specific to ARM Ltd. Versatile Express platforms into edk2-platforms,
hopefully making the line between generic drivers for ARM IP and VExpress boards
incorporating it less blurry.

The most notable change in this version is that the LCD graphics output driver is
no longer migrated. There is work ongoing to add Mali support to it, which will
hopefully be reusable by other platforms than VExpress ones.

Ard Biesheuvel (2):
  Platform/ARM/VExpress: import VExpressPkg from EDK2
  Platform/ARM: import BootMonFs and ArmShellCmdRunAxf from EDK2

 Platform/ARM/ARM.dec                                                                               |   25 +
 Platform/ARM/Drivers/BootMonFs/BootMonFs.dec                                                       |   26 +
 Platform/ARM/Drivers/BootMonFs/BootMonFs.inf                                                       |   63 ++
 Platform/ARM/Drivers/BootMonFs/BootMonFsApi.h                                                      |  388 +++++++
 Platform/ARM/Drivers/BootMonFs/BootMonFsDir.c                                                      |  766 ++++++++++++++
 Platform/ARM/Drivers/BootMonFs/BootMonFsEntryPoint.c                                               |  529 ++++++++++
 Platform/ARM/Drivers/BootMonFs/BootMonFsHw.h                                                       |   57 ++
 Platform/ARM/Drivers/BootMonFs/BootMonFsImages.c                                                   |  222 ++++
 Platform/ARM/Drivers/BootMonFs/BootMonFsInternal.h                                                 |  101 ++
 Platform/ARM/Drivers/BootMonFs/BootMonFsOpenClose.c                                                |  795 +++++++++++++++
 Platform/ARM/Drivers/BootMonFs/BootMonFsReadWrite.c                                                |  259 +++++
 Platform/ARM/Drivers/BootMonFs/BootMonFsUnsupported.c                                              |   37 +
 Platform/ARM/Include/Guid/BootMonFsFileInfo.h                                                      |   47 +
 Platform/ARM/Include/Library/ArmShellCmdLib.h                                                      |   57 ++
 Platform/ARM/JunoPkg/ArmJuno.dsc                                                                   |    2 +-
 Platform/ARM/JunoPkg/ArmJuno.fdf                                                                   |    2 +-
 Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf                                             |    1 +
 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.c                                         |   95 ++
 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.h                                         |   83 ++
 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf                                       |   54 +
 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.uni                                       |   68 ++
 Platform/ARM/Library/ArmShellCmdRunAxf/BootMonFsLoader.c                                           |  154 +++
 Platform/ARM/Library/ArmShellCmdRunAxf/BootMonFsLoader.h                                           |   66 ++
 Platform/ARM/Library/ArmShellCmdRunAxf/ElfLoader.c                                                 |  340 +++++++
 Platform/ARM/Library/ArmShellCmdRunAxf/ElfLoader.h                                                 |   64 ++
 Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c                                                    |  395 ++++++++
 Platform/ARM/Library/ArmShellCmdRunAxf/elf32.h                                                     |  258 +++++
 Platform/ARM/Library/ArmShellCmdRunAxf/elf64.h                                                     |  260 +++++
 Platform/ARM/Library/ArmShellCmdRunAxf/elf_common.h                                                | 1059 ++++++++++++++++++++
 Platform/ARM/VExpressPkg/AcpiTables/AcpiTables.inf                                                 |    3 +-
 Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc                                                  |   29 +-
 Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf                                                  |    8 +-
 Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc                                               |   19 +-
 Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.fdf                                               |    2 +-
 Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc                                                       |   14 +-
 Platform/ARM/VExpressPkg/ArmVExpressPkg.dec                                                        |   60 ++
 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmFvpDxe.c                                        |   90 ++
 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmFvpDxe.inf                                      |   40 +
 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmHwDxe.c                                         |   38 +
 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmHwDxe.inf                                       |   38 +
 Platform/ARM/VExpressPkg/Drivers/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c                      |  519 ++++++++++
 Platform/ARM/VExpressPkg/Drivers/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf                 |   51 +
 Platform/ARM/VExpressPkg/Include/Library/ArmPlatformSysConfigLib.h                                 |   63 ++
 Platform/ARM/VExpressPkg/Include/Library/LcdPlatformLib.h                                          |  221 ++++
 Platform/ARM/VExpressPkg/Include/Platform/CTA15-A7/ArmPlatform.h                                   |  154 +++
 Platform/ARM/VExpressPkg/Include/Platform/RTSM/ArmPlatform.h                                       |   79 ++
 Platform/ARM/VExpressPkg/Include/VExpressMotherBoard.h                                             |  140 +++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/ArmVExpressLib.inf                         |   54 +
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c                                 |  182 ++++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.S                           |   81 ++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.asm                         |   96 ++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Mem.c                              |  182 ++++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/AArch64/RTSMHelper.S                           |   61 ++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.S                               |   97 ++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.asm                             |  118 +++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf                             |   63 ++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLibSec.inf                          |   59 ++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c                                         |  195 ++++
 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSMMem.c                                      |  161 +++
 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c                    |  273 +++++
 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf               |   35 +
 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.c   |  283 ++++++
 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf |   37 +
 Platform/ARM/VExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpress.c                            |  285 ++++++
 Platform/ARM/VExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpressLib.inf                       |   45 +
 Platform/ARM/VExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpress.c                      |   84 ++
 Platform/ARM/VExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf                 |   33 +
 Platform/ARM/VExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpress.c                      |  370 +++++++
 Platform/ARM/VExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf                 |   44 +
 Platform/ARM/VExpressPkg/Library/ResetSystemLib/ResetSystemLib.c                                   |  111 ++
 Platform/ARM/VExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf                                 |   36 +
 71 files changed, 10785 insertions(+), 41 deletions(-)
 create mode 100644 Platform/ARM/ARM.dec
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFs.dec
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFs.inf
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsApi.h
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsDir.c
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsEntryPoint.c
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsHw.h
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsImages.c
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsInternal.h
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsOpenClose.c
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsReadWrite.c
 create mode 100644 Platform/ARM/Drivers/BootMonFs/BootMonFsUnsupported.c
 create mode 100644 Platform/ARM/Include/Guid/BootMonFsFileInfo.h
 create mode 100644 Platform/ARM/Include/Library/ArmShellCmdLib.h
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.c
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.h
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.uni
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/BootMonFsLoader.c
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/BootMonFsLoader.h
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/ElfLoader.c
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/ElfLoader.h
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/elf32.h
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/elf64.h
 create mode 100644 Platform/ARM/Library/ArmShellCmdRunAxf/elf_common.h
 create mode 100644 Platform/ARM/VExpressPkg/ArmVExpressPkg.dec
 create mode 100644 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmFvpDxe.c
 create mode 100644 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmFvpDxe.inf
 create mode 100644 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmHwDxe.c
 create mode 100644 Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmHwDxe.inf
 create mode 100644 Platform/ARM/VExpressPkg/Drivers/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c
 create mode 100644 Platform/ARM/VExpressPkg/Drivers/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf
 create mode 100644 Platform/ARM/VExpressPkg/Include/Library/ArmPlatformSysConfigLib.h
 create mode 100644 Platform/ARM/VExpressPkg/Include/Library/LcdPlatformLib.h
 create mode 100644 Platform/ARM/VExpressPkg/Include/Platform/CTA15-A7/ArmPlatform.h
 create mode 100644 Platform/ARM/VExpressPkg/Include/Platform/RTSM/ArmPlatform.h
 create mode 100644 Platform/ARM/VExpressPkg/Include/VExpressMotherBoard.h
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/ArmVExpressLib.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.S
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.asm
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Mem.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/AArch64/RTSMHelper.S
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.S
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.asm
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLibSec.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSMMem.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpress.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpressLib.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpress.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpress.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
 create mode 100644 Platform/ARM/VExpressPkg/Library/ResetSystemLib/ResetSystemLib.c
 create mode 100644 Platform/ARM/VExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf

-- 
2.11.0



             reply	other threads:[~2017-12-04 22:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-04 22:12 Ard Biesheuvel [this message]
2017-12-04 22:12 ` [PATCH v3 edk2-platforms 1/2] Platform/ARM/VExpress: import VExpressPkg from EDK2 Ard Biesheuvel
2017-12-04 22:12 ` [PATCH v3 edk2-platforms 2/2] Platform/ARM: import BootMonFs and ArmShellCmdRunAxf " Ard Biesheuvel
2017-12-08 15:56 ` [PATCH v3 edk2-platforms 0/2] Move ArmPlatformPkg stuff into edk2-platforms Leif Lindholm
2017-12-08 16:28   ` Ard Biesheuvel

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=20171204221235.11807-1-ard.biesheuvel@linaro.org \
    --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