diff options
Diffstat (limited to 'src/southbridge/amd/agesa')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/sata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/agesa/hudson/sata.c b/src/southbridge/amd/agesa/hudson/sata.c index c2348a963d..f04dd5980c 100644 --- a/src/southbridge/amd/agesa/hudson/sata.c +++ b/src/southbridge/amd/agesa/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*)(uintptr_t)(pci_read_config32(dev, AHCI_BASE_ADDRESS_REG) & 0xFFFFFF00); |