soc/amd/stoneyridge/northbridge: fix indentation in set_mmio_addr_reg
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I5e067f6fb2bab66d9b2f6965636845dfd8b7cacd Reviewed-on: https://review.coreboot.org/c/coreboot/+/74567 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
2dcb2e28b6
commit
aec49aed3c
|
@ -50,9 +50,9 @@ static void set_mmio_addr_reg(u32 nodeid, u32 linkn, u32 reg, u32 index,
|
|||
|
||||
/* io range allocation. Limit */
|
||||
tempreg = (nodeid & 0xf) | (linkn << 4) | (mmio_max & 0xffffff00);
|
||||
pci_write_config32(SOC_ADDR_DEV, reg + 4, tempreg);
|
||||
pci_write_config32(SOC_ADDR_DEV, reg + 4, tempreg);
|
||||
tempreg = 3 | (nodeid & 0x30) | (mmio_min & 0xffffff00);
|
||||
pci_write_config32(SOC_ADDR_DEV, reg, tempreg);
|
||||
pci_write_config32(SOC_ADDR_DEV, reg, tempreg);
|
||||
}
|
||||
|
||||
static void read_resources(struct device *dev)
|
||||
|
|
Loading…
Reference in New Issue