]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/Documentation: remove outdated porting manual
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 30 Nov 2017 13:44:02 +0000 (13:44 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 30 Nov 2017 16:08:10 +0000 (16:08 +0000)
Having a special porting manual for ARM platforms in general suggests
that ARM platforms are fundamentally different from ones based on other
architectures that are supported by UEFI. There may be some truth to
that, but the porting manual in Documentation/ArmPlatformPkg.txt is
hopelessly outdated, and did not give the best advice in the first
place*. So remove it.

* ArmPlatformLib as the mother of all platform abstractions is rather
  unwieldy, and using ArmVExpressLibCTA9x4 as a template is not that
  great an idea either.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/Documentation/ARM-EDK2-Overview.png [deleted file]
ArmPlatformPkg/Documentation/ArmPlatformLib-2nd-Stage.png [deleted file]
ArmPlatformPkg/Documentation/ArmPlatformLib-Full-Boot.png [deleted file]
ArmPlatformPkg/Documentation/ArmPlatformPkg.txt [deleted file]

diff --git a/ArmPlatformPkg/Documentation/ARM-EDK2-Overview.png b/ArmPlatformPkg/Documentation/ARM-EDK2-Overview.png
deleted file mode 100644 (file)
index 37cb394..0000000
Binary files a/ArmPlatformPkg/Documentation/ARM-EDK2-Overview.png and /dev/null differ
diff --git a/ArmPlatformPkg/Documentation/ArmPlatformLib-2nd-Stage.png b/ArmPlatformPkg/Documentation/ArmPlatformLib-2nd-Stage.png
deleted file mode 100644 (file)
index fbb952c..0000000
Binary files a/ArmPlatformPkg/Documentation/ArmPlatformLib-2nd-Stage.png and /dev/null differ
diff --git a/ArmPlatformPkg/Documentation/ArmPlatformLib-Full-Boot.png b/ArmPlatformPkg/Documentation/ArmPlatformLib-Full-Boot.png
deleted file mode 100644 (file)
index d9098aa..0000000
Binary files a/ArmPlatformPkg/Documentation/ArmPlatformLib-Full-Boot.png and /dev/null differ
diff --git a/ArmPlatformPkg/Documentation/ArmPlatformPkg.txt b/ArmPlatformPkg/Documentation/ArmPlatformPkg.txt
deleted file mode 100644 (file)
index 7a400cc..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-Porting UEFI to a ARM platform :\r
---------------------------------\r
-1. Create the new platform directory under ArmPlatformPkg\r
-\r
-2. Create its DSC and FDF files into this new directory. These files can be copied from ArmVExpress-CTA9x4.dsc and ArmVExpress-CTA9x4.fdf; and adapted following the requirement of your platform. \r
-\r
-3. Set up the PCDs required by ArmPlatformPkg in your FDF or DSC files \r
-\r
-4. Implement 'ArmPlatformLib' for your platform following the interface defined by ArmPlatformPkg\Include\Library\ArmPlatformLib.h.\r
-\r
-\r
-PCDs   Description :\r
--------------------\r
-\r
-# Firmware Device / Volume\r
-gArmTokenSpaceGuid.PcdSecureFdBaseAddress       : Base address of your Secure Firmware Device \r
-gArmTokenSpaceGuid.PcdSecureFdSize              : Size in byte of your Secure Firmware Device.\r
-gArmTokenSpaceGuid.PcdFdBaseAddress       : Base Address of your Non-Secure/Normal World Firmware Device.\r
-gArmTokenSpaceGuid.PcdFdSize              : Size in bytes of your Non-Secure/Normal World Firmware Device \r
-\r
-# Stacks\r
-gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase             : Base of Secure Stack for Secure World\r
-gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize       : Size of the stack for the Primary Core in Secure World\r
-gArmPlatformTokenSpaceGuid.PcdCPUCoreSecSecondaryStackSize     : Size of the stack for the Secondary Cores in Secure World\r
-gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase          : Base of Stack for Monitor World\r
-gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize           : Size of the stack for each cores\r
-gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase                : Base of SEC Stack for Normal World\r
-gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize          : Size of the stack for the Primary Core\r
-gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize        : Size of the stack for the Secondary Core\r
-\r
-# CPU / Architectural controllers\r
-gArmTokenSpaceGuid.PcdGicDistributorBase        : Base address of the Distributor of your General Interrupt Controller\r
-gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase : Base address of the Interface of your General Interrupt Controller\r
-\r
-# Memory Regions\r
-gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize  : Size of the region reserve for PI & UEFI\r
-gArmTokenSpaceGuid.PcdSystemMemoryBase                    : Base Address of the System Memory (DRAM)\r
-gArmTokenSpaceGuid.PcdSystemMemorySize                    : Size of the System Memory (DRAM)\r
-\r
-# Features\r
-gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec : TRUE if System Memory initialized by the SEC phase\r
-gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores : TRUE if the PrePi or PrePeiCore modules have to send an SGI to resume the excution of the secondary cores \r
-\r
-# Boot Manager\r
-gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription      : Description of the Default Boot Entry\r
-gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath       : DevicePath of the Default Boot Entry\r
-gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument         : Argument for the Default Boot Entry\r
-gArmPlatformTokenSpaceGuid.PcdDefaultBootType             : Define the binary type of the Default Boot Entry (0=EFI application, 1=Linux kernel with ATAG support, 2=Linux Kernel with FDT support)  \r
-gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut         : Timeout before booting on the Device Boot entry (by default the auto boot is skipped)\r
-gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths           : List of Device Path use for the Console Input\r
-gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths          : List of Device Path use for the Console Output\r
-\r
-\r
-FAQ :\r
------\r
-# When to use PrePi or PrePeiCore ?\r
-- PrePi: when the memory has already been initialized by the first stage boot loader\r
-    Boot sequence: PlatformFirmware/PrePi/Dxe/Bds\r
-    Example: Beagle Board\r
-\r
-- PrePeiCore: when the firmware is started from XIP memory and in Secure world. The PeiCore shadows the firmware itself in System Memory (DRAM)\r
-    Boot sequence: Sec/PrePiCore/PeiCore/Dxe/Bds\r
-    Example: ARM Versatile Express\r
-\r
-See:\r
-- ArmPlatformPkg/Documentation/ARM-EDK2-Overview.png\r
-- ArmPlatformPkg/Documentation/ArmPlatformLib-Full-Boot.png\r
-- ArmPlatformPkg/Documentation/ArmPlatformLib-2nd-Stage.png\r
-\r
-# What is the PcdStandalone\r
-gArmPlatformTokenSpaceGuid.PcdStandalone=FALSE is used on ARM Development Platforms during the development stage.\r
-To avoid to reflash the NOR Flash after each build, the SEC (in NOR Flash) intializes thd DRAM and wait until the Normal World firmware is copied into the DRAM.\r
-Copying the firmware in DRAM is much faster than reflashing the NOR Flash. It is also more convenient to debug the firmware form DRAM than NOR Flash (eg: use of software breakpoint)\r
\r