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>
This commit is contained in:
Elyes HAOUAS 2018-05-04 18:09:27 +02:00 committed by Patrick Georgi
parent 02b05d1f6b
commit 99f0a51de3
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
#include <cpu/amd/model_10xxx_rev.h> #include <cpu/amd/model_10xxx_rev.h>
#include <cpu/amd/amdfam10_sysconf.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 #if 0
static int first_time = 1; static int first_time = 1;
@ -36,7 +36,7 @@ static int first_time = 1;
static u32 get_max_siblings(u32 nodes) static u32 get_max_siblings(u32 nodes)
{ {
device_t dev; struct device *dev;
u32 nodeid; u32 nodeid;
u32 siblings = 0; u32 siblings = 0;
@ -55,7 +55,7 @@ static u32 get_max_siblings(u32 nodes)
static void enable_apic_ext_id(u32 nodes) static void enable_apic_ext_id(u32 nodes)
{ {
device_t dev; struct device *dev;
u32 nodeid; u32 nodeid;
//enable APIC_EXIT_ID all the nodes //enable APIC_EXIT_ID all the nodes