diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-02-08 13:38:21 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-30 09:23:47 +0000 |
commit | d2d8a31305d83dd6c068d51a7f002377f5b5a0a5 (patch) | |
tree | ba1fe06193436e28a5cbbe6c5f2ed2b81c98789b /src/cpu/amd/dualcore | |
parent | fc1b49691f3c1c509ff0b6fb9e569893e687b4ef (diff) |
cpu/amd: Get rid of device_t
Use of `device_t` has been abandoned in ramstage.
Change-Id: I4b930a191130941c8349861cdd803a5be4219274
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/23653
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/amd/dualcore')
-rw-r--r-- | src/cpu/amd/dualcore/amd_sibling.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/amd/dualcore/amd_sibling.c b/src/cpu/amd/dualcore/amd_sibling.c index 693ceb87cd..9a450a52d8 100644 --- a/src/cpu/amd/dualcore/amd_sibling.c +++ b/src/cpu/amd/dualcore/amd_sibling.c @@ -32,7 +32,7 @@ static int disable_siblings = !CONFIG_LOGICAL_CPUS; static int get_max_siblings(int nodes) { - device_t dev; + struct device *dev; int nodeid; int siblings=0; @@ -51,7 +51,7 @@ static int get_max_siblings(int nodes) static void enable_apic_ext_id(int nodes) { - device_t dev; + struct device *dev; int nodeid; //enable APIC_EXIT_ID all the nodes @@ -67,7 +67,7 @@ static void enable_apic_ext_id(int nodes) unsigned get_apicid_base(unsigned ioapic_num) { - device_t dev; + struct device *dev; int nodes; unsigned apicid_base; int siblings; |