Vikram Narayanan (vikram186@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/913
-gerrit
commit 2ec25fea1e3de3355784e62808fb9eb1c28e0fe8 Author: Vikram Narayanan vikram186@gmail.com Date: Sun Apr 22 00:17:04 2012 +0530
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 --- src/cpu/amd/agesa/family12/model_12_init.c | 3 ++- 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 d74b333..3a12db3 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);