lift apic id fix
authorYinghai Lu <yinghailu@gmail.com>
Thu, 13 Jan 2005 19:23:24 +0000 (19:23 +0000)
committerYinghai Lu <yinghailu@gmail.com>
Thu, 13 Jan 2005 19:23:24 +0000 (19:23 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1868 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/cpu/amd/model_fxx/model_fxx_init.c

index 129f778b0900961a2e7a4bdff3b6eeb75869fff4..22b8f015c37f9b2065f037b4efa7ed0782592aaf 100644 (file)
@@ -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");