aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdfam10/nb_control.c
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2016-02-10 14:01:36 +1100
committerMartin Roth <martinroth@google.com>2016-03-30 16:23:07 +0200
commit33aaa921f7538761816900652e186b610d2ab35b (patch)
tree2288af51802352076b174dcac8afc0231465c6e6 /src/northbridge/amd/amdfam10/nb_control.c
parent27e085a8eea7f34ed4987b83c513d2f1818b33a1 (diff)
northbridge/amd/amdfam10: Add family15h model10h-1fh (Trinity)
Change-Id: I96d695ed10176276116fcf3a2b77605fb3f2d5db Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/13710 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd/amdfam10/nb_control.c')
-rw-r--r--src/northbridge/amd/amdfam10/nb_control.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdfam10/nb_control.c b/src/northbridge/amd/amdfam10/nb_control.c
index 07f739d359..1884799ec4 100644
--- a/src/northbridge/amd/amdfam10/nb_control.c
+++ b/src/northbridge/amd/amdfam10/nb_control.c
@@ -2,6 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
+ * Copyright (C) 2016 Damien Zammit <damien@zamaudio.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -64,7 +65,6 @@ static void nb_control_init(struct device *dev)
printk(BIOS_DEBUG, "done.\n");
}
-
static struct device_operations mcf5_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
@@ -74,8 +74,14 @@ static struct device_operations mcf5_ops = {
.ops_pci = 0,
};
+static const struct pci_driver mcf5_driver_fam15_model10 __pci_driver = {
+ .ops = &mcf5_ops,
+ .vendor = PCI_VENDOR_ID_AMD,
+ .device = 0x1405,
+};
+
static const struct pci_driver mcf5_driver_fam15 __pci_driver = {
.ops = &mcf5_ops,
.vendor = PCI_VENDOR_ID_AMD,
.device = 0x1605,
-}; \ No newline at end of file
+};