UPSTREAM: cpu/amd/model_fxx: transition away from device_t
Replace the use of the old device_t definition inside cpu/amd/model_fxx. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16437 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: Iac7571956ed2fb927a6b8cc88514e533f40490d0 Reviewed-on: https://chromium-review.googlesource.com/391928 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
461c108bcf
commit
bdcc425ef3
2 changed files with 7 additions and 4 deletions
|
|
@ -342,7 +342,7 @@ static u32 init_cpus(u32 cpu_init_detectedx)
|
|||
static u32 is_core0_started(u32 nodeid)
|
||||
{
|
||||
u32 htic;
|
||||
device_t device;
|
||||
pci_devfn_t device;
|
||||
device = PCI_DEV(0, 0x18 + nodeid, 0);
|
||||
htic = pci_read_config32(device, HT_INIT_CONTROL);
|
||||
htic &= HTIC_INIT_Detect;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue