diff options
-rw-r--r-- | src/northbridge/via/cx700/Makefile.mk | 2 | ||||
-rw-r--r-- | src/northbridge/via/cx700/chipset.cb | 1 | ||||
-rw-r--r-- | src/northbridge/via/cx700/northbridge.c | 9 |
3 files changed, 11 insertions, 1 deletions
diff --git a/src/northbridge/via/cx700/Makefile.mk b/src/northbridge/via/cx700/Makefile.mk index 3b9608c867..80fc6b9caf 100644 --- a/src/northbridge/via/cx700/Makefile.mk +++ b/src/northbridge/via/cx700/Makefile.mk @@ -7,7 +7,7 @@ CFLAGS_romstage += --param=min-pagesize=0 bootblock-y += early_smbus.c bootblock.c romstage-y += early_smbus.c memmap.c romstage.c raminit.c -ramstage-y += memmap.c chip.c +ramstage-y += memmap.c chip.c northbridge.c all-y += clock.c reset.c endif diff --git a/src/northbridge/via/cx700/chipset.cb b/src/northbridge/via/cx700/chipset.cb index 25c2f113bd..74fbcd70ce 100644 --- a/src/northbridge/via/cx700/chipset.cb +++ b/src/northbridge/via/cx700/chipset.cb @@ -1,6 +1,7 @@ chip northbridge/via/cx700 device domain 0 on + ops domain_ops device pci 00.0 alias host_ctrl on end device pci 00.1 alias host_err on end diff --git a/src/northbridge/via/cx700/northbridge.c b/src/northbridge/via/cx700/northbridge.c new file mode 100644 index 0000000000..d68e765018 --- /dev/null +++ b/src/northbridge/via/cx700/northbridge.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/device.h> + +struct device_operations domain_ops = { + .read_resources = pci_domain_read_resources, + .set_resources = pci_domain_set_resources, + .scan_bus = pci_host_bridge_scan_bus, +}; |