diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-12-14 08:35:29 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-12-19 19:28:11 +0100 |
commit | 450335918c86cea87e53a43aa1b6658a4f273240 (patch) | |
tree | 169ff6911ffbcb90e5358176444cdbdff384cbba /src/northbridge/amd/amdfam10/reset_test.c | |
parent | ac7402dc11337c31c51a8209f005e2dfd6861849 (diff) |
AMD amdfam10: Drop EXT_CONF_SUPPORT
Only used for AMD K8 siemens/sitemp_g1p1 with southbridge rs690.
Change-Id: Ie98a77ce190b1bd35996c7f25da0a0fe9819c9c3
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7809
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/northbridge/amd/amdfam10/reset_test.c')
-rw-r--r-- | src/northbridge/amd/amdfam10/reset_test.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/northbridge/amd/amdfam10/reset_test.c b/src/northbridge/amd/amdfam10/reset_test.c index b4a44ea33e..cdb663263f 100644 --- a/src/northbridge/amd/amdfam10/reset_test.c +++ b/src/northbridge/amd/amdfam10/reset_test.c @@ -127,31 +127,6 @@ static u8 node_link_to_bus(u8 node, u8 link) // node are 6 bit, and link three b } } -#if CONFIG_EXT_CONF_SUPPORT - // let's check that in extend space - // use the nodeid extend space to find out the bus for the linkn - u32 tempreg; - int i; - int j; - u32 cfg_map_dest; - pci_devfn_t dev; - - cfg_map_dest = (1<<7)|(1<<6)|link; - - // three case: index_min==index_max, index_min+1=index_max; index_min+1<index_max - dev = NODE_PCI(node, 1); - for(j=0; j<64; j++) { - pci_io_write_config32(dev, 0x110, j | (6<<28)); - tempreg = pci_io_read_config32(dev, 0x114); - for(i=0; i<=3; i++) { - tempreg >>= (i*8); - if((tempreg & ((1<<7)|(1<<6)|0x3f)) == cfg_map_dest) { - return (i+(j<<2)); //busn_min - } - } - } -#endif - return 0; } |