summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/kcma-d8/mainboard.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 20:00:08 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 13:14:37 +0000
commit02b05d1f6be34c5833c8fbeb6483a2634b758eea (patch)
treed05b7624e36648a5af69d07087ff8fac6adff699 /src/mainboard/asus/kcma-d8/mainboard.c
parent5a0757cf74f01b719508df600b03faf444fd1283 (diff)
mb/asus: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I8fe817bb514c69a647c2208a0573a2c5fe98722d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26076 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/asus/kcma-d8/mainboard.c')
-rw-r--r--src/mainboard/asus/kcma-d8/mainboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/asus/kcma-d8/mainboard.c b/src/mainboard/asus/kcma-d8/mainboard.c
index 0219ee6af0..f8b2bd712f 100644
--- a/src/mainboard/asus/kcma-d8/mainboard.c
+++ b/src/mainboard/asus/kcma-d8/mainboard.c
@@ -30,7 +30,7 @@ void set_pcie_dereset(void);
void set_pcie_reset(void)
{
- device_t pcie_core_dev;
+ struct device *pcie_core_dev;
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x28282828);
@@ -39,7 +39,7 @@ void set_pcie_reset(void)
void set_pcie_dereset(void)
{
- device_t pcie_core_dev;
+ struct device *pcie_core_dev;
pcie_core_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
set_htiu_enable_bits(pcie_core_dev, 0xA8, 0xFFFFFFFF, 0x6F6F6F6F);
@@ -50,7 +50,7 @@ void set_pcie_dereset(void)
* enable the dedicated function in kgpe-d16 board.
* This function is called earlier than sr5650_enable.
*************************************************/
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
printk(BIOS_INFO, "Mainboard KCMA-D8 initializing, dev=0x%p\n", dev);