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 <l...@nuviainc.com> Cc: Pete Batard <p...@akeo.ie> Cc: Andrei Warkentin <awarken...@vmware.com> Cc: Ard Biesheuvel <ard.biesheu...@arm.com> Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@arm.com> Signed-off-by: Jeremy Linton <jeremy.lin...@arm.com> 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 ( } 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); @@ -266,7 +266,7 @@ SetupVariables ( Size = sizeof (AssetTagVar); - Status = gRT->GetVariable(L"AssetTag", + Status = gRT->GetVariable (L"AssetTag", &gConfigDxeFormSetGuid, NULL, &Size, AssetTagVar); @@ -275,7 +275,7 @@ SetupVariables ( L"AssetTag", &gConfigDxeFormSetGuid, EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS, - sizeof(AssetTagVar), + sizeof (AssetTagVar), AssetTagVar ); } @@ -441,9 +441,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); @@ -536,14 +536,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 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#64856): https://edk2.groups.io/g/devel/message/64856 Mute This Topic: https://groups.io/mt/76538751/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-