From ba9deba362cfed3a2a8d3d65db6333b23f59f4d9 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 16 Jul 2022 09:43:03 +0200 Subject: sb/amd/*/*/sata.c: Fix some white spaces issues Signed-off-by: Elyes Haouas Change-Id: I4c5dffb32e1ed858e93f95ed17eac894a9100501 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65896 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/southbridge/amd/pi/hudson/sata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/southbridge/amd/pi/hudson') diff --git a/src/southbridge/amd/pi/hudson/sata.c b/src/southbridge/amd/pi/hudson/sata.c index dd1e1824b5..381f7d3da9 100644 --- a/src/southbridge/amd/pi/hudson/sata.c +++ b/src/southbridge/amd/pi/hudson/sata.c @@ -13,12 +13,12 @@ static void sata_init(struct device *dev) /************************************** * Configure the SATA port multiplier * **************************************/ - #define BYTE_TO_DWORD_OFFSET(x) (x/4) + #define BYTE_TO_DWORD_OFFSET(x) (x / 4) #define AHCI_BASE_ADDRESS_REG 0x24 #define MISC_CONTROL_REG 0x40 - #define UNLOCK_BIT (1<<0) + #define UNLOCK_BIT (1 << 0) #define SATA_CAPABILITIES_REG 0xFC - #define CFG_CAP_SPM (1<<12) + #define CFG_CAP_SPM (1 << 12) volatile u32 *ahci_ptr = (u32*)(pci_read_config32(dev, AHCI_BASE_ADDRESS_REG) & 0xFFFFFF00); -- cgit v1.2.3