diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-09-27 21:00:34 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-09-27 21:00:34 +0000 |
commit | 49a7ac7ee5a19a3390955a0b4bbe1465a1136985 (patch) | |
tree | 5e061b5933d020e7340e242c1232d3b2dae2f263 /src | |
parent | 4f7a5c4544876806913068d1b5e7c6afc75eca80 (diff) | |
download | coreboot-49a7ac7ee5a19a3390955a0b4bbe1465a1136985.tar.xz |
drop some dead code from model_fxx_init.c
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5866 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/amd/model_fxx/model_fxx_init.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c index 526faf2242..460cbf40d4 100644 --- a/src/cpu/amd/model_fxx/model_fxx_init.c +++ b/src/cpu/amd/model_fxx/model_fxx_init.c @@ -471,15 +471,6 @@ static void model_fxx_init(device_t dev) unsigned long i; msr_t msr; struct node_core_id id; -#if CONFIG_LOGICAL_CPUS == 1 - u32 siblings; -#endif - -#if CONFIG_K8_REV_F_SUPPORT == 1 - struct cpuinfo_x86 c; - - get_fms(&c, dev->device); -#endif #if CONFIG_USBDEBUG if (!ehci_debug_addr) @@ -524,7 +515,7 @@ static void model_fxx_init(device_t dev) setup_lapic(); #if CONFIG_LOGICAL_CPUS == 1 - siblings = cpuid_ecx(0x80000008) & 0xff; + u32 siblings = cpuid_ecx(0x80000008) & 0xff; if (siblings > 0) { msr = rdmsr_amd(CPU_ID_FEATURES_MSR); @@ -548,12 +539,6 @@ static void model_fxx_init(device_t dev) */ if (id.coreid == 0) init_ecc_memory(id.nodeid); // only do it for core 0 - -#if CONFIG_LOGICAL_CPUS==1 - /* Start up my cpu siblings */ -// if(id.coreid==0) amd_sibling_init(dev); // Don't need core1 is already be put in the CPU BUS in bus_cpu_scan -#endif - } static struct device_operations cpu_dev_ops = { |