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.58384.1598894777187642439 for ; Mon, 31 Aug 2020 10:26:17 -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 CA93F30E; Mon, 31 Aug 2020 10:26:16 -0700 (PDT) Received: from mammon-tx2.austin.arm.com (mammon-tx2.austin.arm.com [10.118.28.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B9BB43F66F; Mon, 31 Aug 2020 10:26:16 -0700 (PDT) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: Jeremy Linton , Leif Lindholm , Pete Batard , Andrei Warkentin , Ard Biesheuvel , Samer El-Haj-Mahmoud Subject: [PATCH v4 6/6] Platform/RaspberryPi: Trivial whitespace cleanup Date: Mon, 31 Aug 2020 12:25:49 -0500 Message-Id: <20200831172549.24079-7-jeremy.linton@arm.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200831172549.24079-1-jeremy.linton@arm.com> References: <20200831172549.24079-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. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-by: Jeremy Linton Reviewed-by: Pete Batard <@pbatard> --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 24 +++++++++++-------= ---- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c b/Platform/= RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c index e8f964a329..4ed294cdfe 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 @@ -266,7 +266,7 @@ SetupVariables ( =0D =0D Size =3D sizeof (AssetTagVar);=0D - Status =3D gRT->GetVariable(L"AssetTag",=0D + Status =3D gRT->GetVariable (L"AssetTag",=0D &gConfigDxeFormSetGuid,=0D NULL, &Size, AssetTagVar);=0D =0D @@ -275,7 +275,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 @@ -441,9 +441,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 @@ -536,14 +536,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