summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2012-04-22 00:17:04 +0530
committerPatrick Georgi <patrick@georgi-clan.de>2012-04-22 08:53:38 +0200
commit1e6bf092acc311d1359cf892cc6e03d4afb28923 (patch)
tree7542a02e5f3541452cad299defe37b9962358a1e /src/cpu/amd
parent0db2ae3ac44ceb05e96973e6101d472dbef164a0 (diff)
downloadcoreboot-1e6bf092acc311d1359cf892cc6e03d4afb28923.tar.xz
amd: Fix unused variable warning
Comment out the id variable which is used in a commented code block. Change-Id: Ib002d57e5314971f0589d04b7e451ab7d7079f53 Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Reviewed-on: http://review.coreboot.org/913 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/agesa/family12/model_12_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/amd/agesa/family12/model_12_init.c b/src/cpu/amd/agesa/family12/model_12_init.c
index d74b33308b..3a12db38bd 100644
--- a/src/cpu/amd/agesa/family12/model_12_init.c
+++ b/src/cpu/amd/agesa/family12/model_12_init.c
@@ -62,11 +62,12 @@ static void model_12_init(device_t dev)
u8 i;
msr_t msr;
- struct node_core_id id;
+
#if CONFIG_LOGICAL_CPUS == 1
u32 siblings;
#endif
+// struct node_core_id id;
// id = get_node_core_id(read_nb_cfg_54()); /* nb_cfg_54 can not be set */
// printk(BIOS_DEBUG, "nodeid = %02d, coreid = %02d\n", id.nodeid, id.coreid);