<div dir="ltr">Just a quick question, I'm using the geode as an example:<br><br>static void geodelx_pci_domain_set_resources(struct device *dev)<br>{<br> int idx;<br> struct device *mc_dev;<br> struct northbridge_amd_geodelx_domain_config *nb_dm =<br>
(struct northbridge_amd_geodelx_domain_config *)dev->device_configuration;<br><br> printk(BIOS_SPEW, ">> Entering northbridge.c: %s\n", __FUNCTION__);<br><br> mc_dev = dev->link[0].children;<br>
if (mc_dev) {<br> /* Report the memory regions. */<br> idx = 10;<br> /* 0 .. 640 KB */<br> ram_resource(dev, idx++, 0, 640);<br> /* 1 MB .. (Systop - 1 MB) (in KB) */<br> ram_resource(dev, idx++, 1024,<br>
(get_systop(nb_dm) / 1024) - 1024);<br> }<br><br> phase4_assign_resources(&dev->link[0]);<br>}<br><br>Does ram_resource() have to be part of the pci domain setup? I know that it usually is, but the memory controller registers on the cn700 are part of d0f3, could I do ram_resource with the rest of that device's init?<br>
<br>Thanks,<br>Corey<br></div>