diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2019-06-20 14:35:44 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2019-06-21 12:49:57 +0000 |
commit | d5a11ed6c82a7a3e6d8551e27feda96fb505498b (patch) | |
tree | 652cb0fc307eb2393f50bddbd544023471749f7c | |
parent | 8d2ec86c5ed5f33fc121346db06dff69ea75e18e (diff) | |
download | coreboot-d5a11ed6c82a7a3e6d8551e27feda96fb505498b.tar.xz |
device/pci_rom: use ALIGN_UP instead of ALIGN for better readability
Change-Id: Icb0b3fd22fa9b6ea73b7770079f81335e40fd0d3
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33633
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r-- | src/device/pci_rom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c index 2dbfb51b5f..3160c2041b 100644 --- a/src/device/pci_rom.c +++ b/src/device/pci_rom.c @@ -257,7 +257,7 @@ pci_rom_write_acpi_tables(struct device *device, unsigned long current, /* AMD/ATI uses VFCT */ if (device->vendor == PCI_VENDOR_ID_ATI) { - current = ALIGN(current, 8); + current = ALIGN_UP(current, 8); printk(BIOS_DEBUG, "ACPI: * VFCT at %lx\n", current); vfct = (struct acpi_vfct *)current; acpi_create_vfct(device, vfct, pci_rom_acpi_fill_vfct); |