Factor out a few commonly duplicated functions from northbridge.c.
[coreboot.git] / src / include / device / device.h
index fde64304b666239dac9494b43155260010d92faa..1b978b1540ab674bafd58518c7b368e26deb94a5 100644 (file)
@@ -146,4 +146,10 @@ extern struct device_operations default_dev_ops_root;
 void pci_domain_read_resources(struct device *dev);
 unsigned int pci_domain_scan_bus(struct device *dev, unsigned int max);
 unsigned int scan_static_bus(device_t bus, unsigned int max);
+
+void ram_resource(device_t dev, unsigned long index,
+                 unsigned long basek, unsigned long sizek);
+void tolm_test(void *gp, struct device *dev, struct resource *new);
+u32 find_pci_tolm(struct bus *bus);
+
 #endif /* DEVICE_H */