On 8 December 2017 at 15:59, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Mon, Dec 04, 2017 at 10:22:30PM +0000, Ard Biesheuvel wrote:
>> Remove everything from ArmPlatformPkg that is either unused, or so highly
>> specific to development platforms manufactured by ARM Ltd. that they really
>> don't belong in the main branch.
>>
>> Note that the migration involves patches against edk2-platforms that add
>> some of this code back under Platform/ARM. Most of it (but not all of it)
>> has been posted as a separate series already.
>
> As we can easily resurrect any of the unused drivers if someone shouts
> (and they've had fair warning already):
> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
>
Thanks. Pushed as 06c8a34cc4bc..a8406340bdf2
>> Changes since v1:
>> - keep LcdGraphicsOutputDxe
>> - drop merged patches
>> - add some new cleanup patches (#5 - #7)
>>
>> Ard Biesheuvel (13):
>> ArmPlatformPkg: remove NorFlashArmVExpressLib
>> ArmPlatformPkg: remove ArmVExpressPkg
>> ArmPlatformPkg: remove ArmPlatformSysConfigLib library class
>> ArmPlatformPkg: remove BootMonFs and ArmShellCmdRunAxf
>> ArmPlatformPkg: remove old PL011UartLib implementation
>> ArmPlatformPkg: add missing library class declarations to .dec file
>> ArmPlatformPkg/LcdGraphicsOutputDxe: move headers into driver
>> directory
>> ArmPlatformPkg: remove unused PL301Axi driver
>> ArmPlatformPkg: remove unused PL35x driver
>> ArmPlatformPkg: remove PL34xDmc driver
>> ArmPlatformPkg: remove unused PL310 driver
>> ArmPlatformPkg: remove unused ArmTrustZone driver
>> ArmPlatformPkg: remove unused SP804 driver and TimerLib implementation
>>
>> ArmPlatformPkg/ArmPlatformPkg.dec | 10 +-
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.c | 90 --
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf | 38 -
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.c | 38 -
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.inf | 37 -
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c | 519 ----------
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf | 51 -
>> ArmPlatformPkg/ArmVExpressPkg/ArmVExpressPkg.dec | 53 -
>> ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA15-A7/ArmPlatform.h | 154 ---
>> ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM/ArmPlatform.h | 79 --
>> ArmPlatformPkg/ArmVExpressPkg/Include/VExpressMotherBoard.h | 140 ---
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/ArmVExpressLib.inf | 53 -
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c | 182 ----
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.S | 81 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.asm | 96 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Mem.c | 182 ----
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/AArch64/RTSMHelper.S | 61 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.S | 97 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.asm | 118 ---
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf | 62 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLibSec.inf | 59 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c | 195 ----
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSMMem.c | 161 ---
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c | 273 -----
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf | 35 -
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.c | 283 ------
>> ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf | 37 -
>> ArmPlatformPkg/ArmVExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpress.c | 285 ------
>> ArmPlatformPkg/ArmVExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpressLib.inf | 45 -
>> ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpress.c | 84 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf | 32 -
>> ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpress.c | 370 -------
>> ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf | 44 -
>> ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c | 111 --
>> ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf | 35 -
>> ArmPlatformPkg/Drivers/ArmTrustZone/ArmTrustZone.c | 113 ---
>> ArmPlatformPkg/Drivers/ArmTrustZone/ArmTrustZone.inf | 33 -
>> ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c | 3 +-
>> ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/HdLcd.h | 0
>> ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c | 3 +-
>> ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/PL111Lcd.h | 0
>> ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.c | 470 ---------
>> ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf | 42 -
>> ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.c | 108 --
>> ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.inf | 27 -
>> ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2Cache.c | 126 ---
>> ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf | 31 -
>> ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.c | 227 -----
>> ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.inf | 29 -
>> ArmPlatformPkg/Drivers/PL35xSmc/InitializeSMC.S | 60 --
>> ArmPlatformPkg/Drivers/PL35xSmc/InitializeSMC.asm | 62 --
>> ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf | 29 -
>> ArmPlatformPkg/Drivers/SP804TimerDxe/SP804Timer.c | 395 --------
>> ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf | 59 --
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf | 61 --
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsApi.h | 388 -------
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsDir.c | 766 --------------
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c | 529 ----------
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsHw.h | 57 --
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsImages.c | 222 ----
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsInternal.h | 101 --
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsOpenClose.c | 795 ---------------
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsReadWrite.c | 259 -----
>> ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsUnsupported.c | 37 -
>> ArmPlatformPkg/Include/Drivers/ArmTrustzone.h | 105 --
>> ArmPlatformPkg/Include/Drivers/PL011Uart.h | 290 ------
>> ArmPlatformPkg/Include/Drivers/PL301Axi.h | 21 -
>> ArmPlatformPkg/Include/Drivers/PL310L2Cache.h | 79 --
>> ArmPlatformPkg/Include/Drivers/PL341Dmc.h | 336 -------
>> ArmPlatformPkg/Include/Drivers/PL35xSmc.h | 75 --
>> ArmPlatformPkg/Include/Drivers/SP804Timer.h | 57 --
>> ArmPlatformPkg/Include/Guid/BootMonFsFileInfo.h | 47 -
>> ArmPlatformPkg/Include/Library/ArmPlatformSysConfigLib.h | 63 --
>> ArmPlatformPkg/Include/Library/ArmShellCmdLib.h | 57 --
>> ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.c | 85 --
>> ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf | 28 -
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.c | 95 --
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.h | 83 --
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf | 54 -
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.uni | 68 --
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/BootMonFsLoader.c | 154 ---
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/BootMonFsLoader.h | 66 --
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/ElfLoader.c | 340 -------
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/ElfLoader.h | 64 --
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/RunAxf.c | 395 --------
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf32.h | 258 -----
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf64.h | 260 -----
>> ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf_common.h | 1059 --------------------
>> ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.c | 256 -----
>> ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf | 44 -
>> 90 files changed, 5 insertions(+), 13656 deletions(-)
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmHwDxe.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBoot.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressPkg.dec
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA15-A7/ArmPlatform.h
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM/ArmPlatform.h
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Include/VExpressMotherBoard.h
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/ArmVExpressLib.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.S
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Helper.asm
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7Mem.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/AArch64/RTSMHelper.S
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.S
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.asm
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLibSec.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSMMem.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfig.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpress.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/HdLcdArmVExpressLib/HdLcdArmVExpressLib.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpress.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpress.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c
>> delete mode 100644 ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf
>> delete mode 100644 ArmPlatformPkg/Drivers/ArmTrustZone/ArmTrustZone.c
>> delete mode 100644 ArmPlatformPkg/Drivers/ArmTrustZone/ArmTrustZone.inf
>> rename ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/HdLcd.h (100%)
>> rename ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/PL111Lcd.h (100%)
>> delete mode 100644 ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.c
>> delete mode 100644 ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
>> delete mode 100644 ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.c
>> delete mode 100644 ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.inf
>> delete mode 100644 ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2Cache.c
>> delete mode 100644 ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
>> delete mode 100644 ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.c
>> delete mode 100644 ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.inf
>> delete mode 100644 ArmPlatformPkg/Drivers/PL35xSmc/InitializeSMC.S
>> delete mode 100644 ArmPlatformPkg/Drivers/PL35xSmc/InitializeSMC.asm
>> delete mode 100644 ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf
>> delete mode 100644 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804Timer.c
>> delete mode 100644 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsApi.h
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsDir.c
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsEntryPoint.c
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsHw.h
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsImages.c
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsInternal.h
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsOpenClose.c
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsReadWrite.c
>> delete mode 100644 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsUnsupported.c
>> delete mode 100644 ArmPlatformPkg/Include/Drivers/ArmTrustzone.h
>> delete mode 100644 ArmPlatformPkg/Include/Drivers/PL011Uart.h
>> delete mode 100644 ArmPlatformPkg/Include/Drivers/PL301Axi.h
>> delete mode 100644 ArmPlatformPkg/Include/Drivers/PL310L2Cache.h
>> delete mode 100644 ArmPlatformPkg/Include/Drivers/PL341Dmc.h
>> delete mode 100644 ArmPlatformPkg/Include/Drivers/PL35xSmc.h
>> delete mode 100644 ArmPlatformPkg/Include/Drivers/SP804Timer.h
>> delete mode 100644 ArmPlatformPkg/Include/Guid/BootMonFsFileInfo.h
>> delete mode 100644 ArmPlatformPkg/Include/Library/ArmPlatformSysConfigLib.h
>> delete mode 100644 ArmPlatformPkg/Include/Library/ArmShellCmdLib.h
>> delete mode 100644 ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.c
>> delete mode 100644 ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.c
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.h
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.uni
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/BootMonFsLoader.c
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/BootMonFsLoader.h
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/ElfLoader.c
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/ElfLoader.h
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/RunAxf.c
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf32.h
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf64.h
>> delete mode 100644 ArmPlatformPkg/Library/ArmShellCmdRunAxf/elf_common.h
>> delete mode 100644 ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.c
>> delete mode 100644 ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
>>
>> --
>> 2.11.0
>>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel