mb/*/chromeos.c: Fix PRE_RAM and unify style

Change-Id: I99b9c0452ed0e6d580edb5a4f3317d776085b382
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30399
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki
2018-06-21 15:04:51 +03:00
parent 1de326460e
commit de7f0736a1
9 changed files with 55 additions and 63 deletions

View File

@ -29,7 +29,7 @@
void fill_lb_gpios(struct lb_gpios *gpios)
{
struct device *dev = dev_find_slot(0, PCI_DEVFN(0x1f, 0));
struct device *dev = pcidev_on_root(0x1f, 0);
u16 gpio_base = pci_read_config32(dev, GPIOBASE) & 0xfffe;
if (!gpio_base)