src/{drivers,soc}: Fix some code indents
Change-Id: I55682de4a1bc74f170e2044de35b0d8d53ef51ff Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61413 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
parent
f711bf03a6
commit
0bc5d9dfff
6 changed files with 11 additions and 11 deletions
|
|
@ -71,7 +71,7 @@ static void sata_init(struct device *dev)
|
|||
pci_write_config16(dev, 0x92, reg16);
|
||||
|
||||
if (config->sata_ahci) {
|
||||
u8 *abar = (u8 *)pci_read_config32(dev, PCI_BASE_ADDRESS_5);
|
||||
u8 *abar = (u8 *)pci_read_config32(dev, PCI_BASE_ADDRESS_5);
|
||||
|
||||
/* Enable CR memory space decoding */
|
||||
reg16 = pci_read_config16(dev, 0x04);
|
||||
|
|
|
|||
|
|
@ -68,11 +68,11 @@ static void fill_in_pattrs(void)
|
|||
dev = pcidev_on_root(LPC_DEV, LPC_FUNC);
|
||||
attrs->revid = pci_read_config8(dev, REVID);
|
||||
/* The revision to stepping IDs have two values per metal stepping. */
|
||||
if (attrs->revid >= RID_D_STEPPING_START) {
|
||||
if (attrs->revid >= RID_D_STEPPING_START) {
|
||||
attrs->stepping = (attrs->revid - RID_D_STEPPING_START) / 2;
|
||||
attrs->stepping += STEP_D1;
|
||||
|
||||
} else if (attrs->revid >= RID_C_STEPPING_START) {
|
||||
} else if (attrs->revid >= RID_C_STEPPING_START) {
|
||||
attrs->stepping = (attrs->revid - RID_C_STEPPING_START) / 2;
|
||||
attrs->stepping += STEP_C0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue