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.web10.105019.1597898586866357319 for ; Wed, 19 Aug 2020 21:43:07 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jeremy.linton@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 838FE1045; Wed, 19 Aug 2020 21:43:06 -0700 (PDT) Received: from u200856.usa.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 62F9B3F71F; Wed, 19 Aug 2020 21:43:06 -0700 (PDT) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: Jeremy Linton Subject: [PATCH v2 4/4] Platform/RaspberryPi: Trivial whitespace cleanup Date: Wed, 19 Aug 2020 23:42:17 -0500 Message-Id: <20200820044217.39839-5-jeremy.linton@arm.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200820044217.39839-1-jeremy.linton@arm.com> References: <20200820044217.39839-1-jeremy.linton@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Pete's review pointed out some whitespace issues in the context of a previous patch. Since there are a number of similar errors in the file lets fix them separately. Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 26 +++++++++++-------= ---- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c b/Platform/= RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c index 24e65eeb5e..4a47160c42 100644 --- a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c +++ b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c @@ -209,9 +209,9 @@ SetupVariables ( }=0D =0D Size =3D sizeof (UINT32);=0D - Status =3D gRT->GetVariable(L"CustomCpuClock",=0D - &gConfigDxeFormSetGuid,=0D - NULL, &Size, &Var32);=0D + Status =3D gRT->GetVariable (L"CustomCpuClock",=0D + &gConfigDxeFormSetGuid,=0D + NULL, &Size, &Var32);=0D if (EFI_ERROR (Status)) {=0D Status =3D PcdSet32S (PcdCustomCpuClock, PcdGet32 (PcdCustomCpuClock))= ;=0D ASSERT_EFI_ERROR (Status);=0D @@ -256,9 +256,9 @@ SetupVariables ( PcdSet32 (PcdFanOnGpio, PcdGet32 (PcdFanOnGpio));=0D }=0D =0D - Size =3D sizeof(AssetTagVar);=0D + Size =3D sizeof (AssetTagVar);=0D =0D - Status =3D gRT->GetVariable(L"AssetTag",=0D + Status =3D gRT->GetVariable (L"AssetTag",=0D &gConfigDxeFormSetGuid,=0D NULL, &Size, AssetTagVar);=0D =0D @@ -267,7 +267,7 @@ SetupVariables ( L"AssetTag",=0D &gConfigDxeFormSetGuid,=0D EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_A= CCESS | EFI_VARIABLE_RUNTIME_ACCESS,=0D - sizeof(AssetTagVar),=0D + sizeof (AssetTagVar),=0D AssetTagVar=0D );=0D }=0D @@ -433,9 +433,9 @@ ApplyVariables ( * spaces. SystemMemorySizeBelow4GB tracks the maximum memory below 4G= B=0D * line, factoring in the limit imposed by the SoC register range.=0D */=0D - SystemMemorySizeBelow4GB =3D MIN(SystemMemorySize, 4UL * SIZE_1GB);=0D - SystemMemorySizeBelow4GB =3D MIN(SystemMemorySizeBelow4GB, BCM2836_SOC= _REGISTERS);=0D - SystemMemorySizeBelow4GB =3D MIN(SystemMemorySizeBelow4GB, BCM2711_SOC= _REGISTERS);=0D + SystemMemorySizeBelow4GB =3D MIN (SystemMemorySize, 4UL * SIZE_1GB);=0D + SystemMemorySizeBelow4GB =3D MIN (SystemMemorySizeBelow4GB, BCM2836_SO= C_REGISTERS);=0D + SystemMemorySizeBelow4GB =3D MIN (SystemMemorySizeBelow4GB, BCM2711_SO= C_REGISTERS);=0D =0D ASSERT (SystemMemorySizeBelow4GB > 3UL * SIZE_1GB);=0D =0D @@ -528,14 +528,14 @@ ApplyVariables ( /*=0D * SD card pins go to Arasan.=0D */=0D - MmioWrite32((GPIO_BASE_ADDRESS + 0xD0),=0D - MmioRead32(GPIO_BASE_ADDRESS + 0xD0) | 0x2);=0D + MmioWrite32 ((GPIO_BASE_ADDRESS + 0xD0),=0D + MmioRead32 (GPIO_BASE_ADDRESS + 0xD0) | 0x2);=0D } else {=0D /*=0D * SD card pins back to eMMC2.=0D */=0D - MmioWrite32((GPIO_BASE_ADDRESS + 0xD0),=0D - MmioRead32(GPIO_BASE_ADDRESS + 0xD0) & ~0x2);=0D + MmioWrite32 ((GPIO_BASE_ADDRESS + 0xD0),=0D + MmioRead32 (GPIO_BASE_ADDRESS + 0xD0) & ~0x2);=0D /*=0D * WiFi back to Arasan.=0D */=0D --=20 2.13.7