From 4a1222d50cb4c533fa01b83613f58b5c94b880a3 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Thu, 13 Jan 2005 19:23:24 +0000 Subject: lift apic id fix git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1868 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/model_fxx/model_fxx_init.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c index 129f778b09..22b8f015c3 100644 --- a/src/cpu/amd/model_fxx/model_fxx_init.c +++ b/src/cpu/amd/model_fxx/model_fxx_init.c @@ -149,9 +149,6 @@ static void init_ecc_memory(unsigned node_id) int enable_scrubbing; uint32_t dcl; - /* For now there is a 1-1 mapping between node_id and cpu_id */ - node_id = lapicid(); - f1_dev = dev_find_slot(0, PCI_DEVFN(0x18 + node_id, 1)); if (!f1_dev) { die("Cannot find cpu function 1\n"); -- cgit v1.2.3