commit | 1a4abb73cdeae498e1470d273fee7cc1f35912e7 | [log] [tgz] |
---|---|---|
author | Elyes HAOUAS <ehaouas@noos.fr> | Sat May 19 16:49:20 2018 +0200 |
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | Sun May 20 09:08:28 2018 +0000 |
tree | 2a1cdaca55a4e67439ac6be3354ca2a7bc120985 | |
parent | 4a027e6e95665f2c7cb9297c04d60e1b58b815b2 [diff] [blame] |
sb/amd/cimx/sb800: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I2335b7e193663bb6c82bf267aaeb0b2367986f62 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26414 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
diff --git a/src/southbridge/amd/cimx/sb800/spi.c b/src/southbridge/amd/cimx/sb800/spi.c index 2c541e3..54dd77a 100644 --- a/src/southbridge/amd/cimx/sb800/spi.c +++ b/src/southbridge/amd/cimx/sb800/spi.c
@@ -48,7 +48,7 @@ void spi_init() { - device_t dev; + struct device *dev; dev = dev_find_slot(0, PCI_DEVFN(0x14, 3)); spibar = pci_read_config32(dev, 0xA0) & ~0x1F;