northbridge/intel/x4x: transition away from device_t
Replace the use of the old device_t definition inside northbridge/intel/x4x. Change-Id: I65cd02eacf57cb41ded434582ca6e9d9f655e6ea Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16472 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
committed by
Martin Roth
parent
1004710579
commit
60a6e153b0
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
void x4x_early_init(void)
|
void x4x_early_init(void)
|
||||||
{
|
{
|
||||||
const device_t d0f0 = PCI_DEV(0, 0, 0);
|
const pci_devfn_t d0f0 = PCI_DEV(0, 0, 0);
|
||||||
|
|
||||||
/* Setup MCHBAR. */
|
/* Setup MCHBAR. */
|
||||||
pci_write_config32(d0f0, D0F0_MCHBAR_LO, (uintptr_t)DEFAULT_MCHBAR | 1);
|
pci_write_config32(d0f0, D0F0_MCHBAR_LO, (uintptr_t)DEFAULT_MCHBAR | 1);
|
||||||
|
@@ -324,6 +324,8 @@ void sdram_initialize(int boot_path, const u8 *spd_map);
|
|||||||
void raminit_ddr2(struct sysinfo *);
|
void raminit_ddr2(struct sysinfo *);
|
||||||
|
|
||||||
struct acpi_rsdp;
|
struct acpi_rsdp;
|
||||||
|
#ifndef __SIMPLE_DEVICE__
|
||||||
unsigned long northbridge_write_acpi_tables(device_t device, unsigned long start, struct acpi_rsdp *rsdp);
|
unsigned long northbridge_write_acpi_tables(device_t device, unsigned long start, struct acpi_rsdp *rsdp);
|
||||||
|
#endif /* __SIMPLE_DEVICE__ */
|
||||||
#endif
|
#endif
|
||||||
#endif /* __NORTHBRIDGE_INTEL_X4X_H__ */
|
#endif /* __NORTHBRIDGE_INTEL_X4X_H__ */
|
||||||
|
Reference in New Issue
Block a user