From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.9744.1589301698755753639 for ; Tue, 12 May 2020 09:41:38 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ard.biesheuvel@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 781DF11B3; Tue, 12 May 2020 09:41:38 -0700 (PDT) Received: from e123331-lin.nice.arm.com (unknown [10.37.8.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6F3183F305; Tue, 12 May 2020 09:41:37 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, philmd@redhat.com, Ard Biesheuvel Subject: [PATCH edk2-platforms v3 5/8] Platform/RaspberryPi/ConfigDxe: preliminary cleanup Date: Tue, 12 May 2020 18:41:22 +0200 Message-Id: <20200512164125.28139-6-ard.biesheuvel@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200512164125.28139-1-ard.biesheuvel@arm.com> References: <20200512164125.28139-1-ard.biesheuvel@arm.com> Do some preliminary cosmetic cleanup on ConfigDxe before making actual changes in a subsequent patch. Co-authored-by: Samer El-Haj-Mahmoud Co-authored-by: Ard Biesheuvel Co-authored-by: Andrei Warkentin Signed-off-by: Ard Biesheuvel --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf | 21 ++++++++++++-------- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 17 ++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf index e47f3af69199..44b5cc2294d0 100644 --- a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf +++ b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf @@ -1,6 +1,8 @@ #/** @file # -# Copyright (c) 2019, ARM Limited. All rights reserved. +# Component description file for the RasbperryPi DXE platform config driver. +# +# Copyright (c) 2019 - 2020, ARM Limited. All rights reserved. # Copyright (c) 2018, Andrei Warkentin # # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -31,24 +33,27 @@ [Sources] [Packages] ArmPkg/ArmPkg.dec ArmPlatformPkg/ArmPlatformPkg.dec - MdePkg/MdePkg.dec + EmbeddedPkg/EmbeddedPkg.dec MdeModulePkg/MdeModulePkg.dec + MdePkg/MdePkg.dec + NetworkPkg/NetworkPkg.dec + Platform/RaspberryPi/RaspberryPi.dec Silicon/Broadcom/Bcm27xx/Bcm27xx.dec Silicon/Broadcom/Bcm283x/Bcm283x.dec - Platform/RaspberryPi/RaspberryPi.dec - EmbeddedPkg/EmbeddedPkg.dec + Silicon/Broadcom/Drivers/Net/BcmNet.dec [LibraryClasses] + AcpiLib BaseLib DebugLib DxeServicesTableLib + GpioLib + HiiLib + NetLib PcdLib UefiBootServicesTableLib - UefiRuntimeServicesTableLib UefiDriverEntryPoint - HiiLib - GpioLib - AcpiLib + UefiRuntimeServicesTableLib [Guids] gConfigDxeFormSetGuid diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c index 00867879da20..df82902e8958 100644 --- a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c +++ b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c @@ -1,6 +1,6 @@ /** @file * - * Copyright (c) 2019, ARM Limited. All rights reserved. + * Copyright (c) 2019 - 2020, ARM Limited. All rights reserved. * Copyright (c) 2018 - 2019, Andrei Warkentin * * SPDX-License-Identifier: BSD-2-Clause-Patent @@ -8,19 +8,20 @@ **/ #include +#include +#include +#include +#include #include -#include #include +#include #include +#include +#include #include +#include #include #include -#include -#include -#include -#include -#include -#include #include #include #include "ConfigDxeFormSetGuid.h" -- 2.17.1