summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 18:09:27 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 13:15:53 +0000
commit99f0a51de369591529587e1b1257be69a3f98a17 (patch)
tree9d440e7294d812a7bb82b7f8336d099229abbf73
parent02b05d1f6be34c5833c8fbeb6483a2634b758eea (diff)
downloadcoreboot-99f0a51de369591529587e1b1257be69a3f98a17.tar.xz
cpu/amd/quadcore: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I6cb8f36dea4a22fdf05c57bb3e3dcaeb2da8020f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26066 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
-rw-r--r--src/cpu/amd/quadcore/amd_sibling.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/amd/quadcore/amd_sibling.c b/src/cpu/amd/quadcore/amd_sibling.c
index 129e025b7c..32b1784c78 100644
--- a/src/cpu/amd/quadcore/amd_sibling.c
+++ b/src/cpu/amd/quadcore/amd_sibling.c
@@ -26,7 +26,7 @@
#include <cpu/amd/model_10xxx_rev.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern device_t get_node_pci(u32 nodeid, u32 fn);
+extern struct device *get_node_pci(u32 nodeid, u32 fn);
#if 0
static int first_time = 1;
@@ -36,7 +36,7 @@ static int first_time = 1;
static u32 get_max_siblings(u32 nodes)
{
- device_t dev;
+ struct device *dev;
u32 nodeid;
u32 siblings = 0;
@@ -55,7 +55,7 @@ static u32 get_max_siblings(u32 nodes)
static void enable_apic_ext_id(u32 nodes)
{
- device_t dev;
+ struct device *dev;
u32 nodeid;
//enable APIC_EXIT_ID all the nodes