sb/amd/*/*/sata.c: Fix some white spaces issues
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I4c5dffb32e1ed858e93f95ed17eac894a9100501 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65896 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
833582640c
commit
ba9deba362
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue