From: "Jeremy Linton" <jeremy.linton@arm.com>
To: devel@edk2.groups.io
Cc: Jeremy Linton <jeremy.linton@arm.com>
Subject: [PATCH v2 4/4] Platform/RaspberryPi: Trivial whitespace cleanup
Date: Wed, 19 Aug 2020 23:42:17 -0500 [thread overview]
Message-ID: <20200820044217.39839-5-jeremy.linton@arm.com> (raw)
In-Reply-To: <20200820044217.39839-1-jeremy.linton@arm.com>
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 <jeremy.linton@arm.com>
---
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 (
}
Size = sizeof (UINT32);
- Status = gRT->GetVariable(L"CustomCpuClock",
- &gConfigDxeFormSetGuid,
- NULL, &Size, &Var32);
+ Status = gRT->GetVariable (L"CustomCpuClock",
+ &gConfigDxeFormSetGuid,
+ NULL, &Size, &Var32);
if (EFI_ERROR (Status)) {
Status = PcdSet32S (PcdCustomCpuClock, PcdGet32 (PcdCustomCpuClock));
ASSERT_EFI_ERROR (Status);
@@ -256,9 +256,9 @@ SetupVariables (
PcdSet32 (PcdFanOnGpio, PcdGet32 (PcdFanOnGpio));
}
- Size = sizeof(AssetTagVar);
+ Size = sizeof (AssetTagVar);
- Status = gRT->GetVariable(L"AssetTag",
+ Status = gRT->GetVariable (L"AssetTag",
&gConfigDxeFormSetGuid,
NULL, &Size, AssetTagVar);
@@ -267,7 +267,7 @@ SetupVariables (
L"AssetTag",
&gConfigDxeFormSetGuid,
EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,
- sizeof(AssetTagVar),
+ sizeof (AssetTagVar),
AssetTagVar
);
}
@@ -433,9 +433,9 @@ ApplyVariables (
* spaces. SystemMemorySizeBelow4GB tracks the maximum memory below 4GB
* line, factoring in the limit imposed by the SoC register range.
*/
- SystemMemorySizeBelow4GB = MIN(SystemMemorySize, 4UL * SIZE_1GB);
- SystemMemorySizeBelow4GB = MIN(SystemMemorySizeBelow4GB, BCM2836_SOC_REGISTERS);
- SystemMemorySizeBelow4GB = MIN(SystemMemorySizeBelow4GB, BCM2711_SOC_REGISTERS);
+ SystemMemorySizeBelow4GB = MIN (SystemMemorySize, 4UL * SIZE_1GB);
+ SystemMemorySizeBelow4GB = MIN (SystemMemorySizeBelow4GB, BCM2836_SOC_REGISTERS);
+ SystemMemorySizeBelow4GB = MIN (SystemMemorySizeBelow4GB, BCM2711_SOC_REGISTERS);
ASSERT (SystemMemorySizeBelow4GB > 3UL * SIZE_1GB);
@@ -528,14 +528,14 @@ ApplyVariables (
/*
* SD card pins go to Arasan.
*/
- MmioWrite32((GPIO_BASE_ADDRESS + 0xD0),
- MmioRead32(GPIO_BASE_ADDRESS + 0xD0) | 0x2);
+ MmioWrite32 ((GPIO_BASE_ADDRESS + 0xD0),
+ MmioRead32 (GPIO_BASE_ADDRESS + 0xD0) | 0x2);
} else {
/*
* SD card pins back to eMMC2.
*/
- MmioWrite32((GPIO_BASE_ADDRESS + 0xD0),
- MmioRead32(GPIO_BASE_ADDRESS + 0xD0) & ~0x2);
+ MmioWrite32 ((GPIO_BASE_ADDRESS + 0xD0),
+ MmioRead32 (GPIO_BASE_ADDRESS + 0xD0) & ~0x2);
/*
* WiFi back to Arasan.
*/
--
2.13.7
prev parent reply other threads:[~2020-08-20 4:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 4:42 [PATCH v2 0/4] Platform/RasberryPi: Thermal zone Jeremy Linton
2020-08-20 4:42 ` [PATCH v2 1/4] Platform/RaspberryPi4: Add a basic thermal zone Jeremy Linton
2020-08-20 7:59 ` Ard Biesheuvel
2020-08-20 14:41 ` Jeremy Linton
2020-08-27 8:06 ` Ard Biesheuvel
2020-08-27 15:21 ` Jeremy Linton
2020-08-20 4:42 ` [PATCH v2 2/4] Platform/RaspberryPi4: Create ACPI fan object Jeremy Linton
2020-08-20 4:42 ` [PATCH v2 3/4] Platform/RaspberryPi: Add entry for user fan control Jeremy Linton
2020-08-20 16:15 ` Andrei Warkentin
2020-08-21 4:15 ` Jeremy Linton
2020-08-20 4:42 ` Jeremy Linton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200820044217.39839-5-jeremy.linton@arm.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox