aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sr5650/early_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sr5650/early_setup.c')
-rw-r--r--src/southbridge/amd/sr5650/early_setup.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/amd/sr5650/early_setup.c b/src/southbridge/amd/sr5650/early_setup.c
index ec555f81b2..664f60af10 100644
--- a/src/southbridge/amd/sr5650/early_setup.c
+++ b/src/southbridge/amd/sr5650/early_setup.c
@@ -3,6 +3,7 @@
*
* Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
* Copyright (C) 2010 Advanced Micro Devices, Inc.
+ * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -504,7 +505,8 @@ void sr5650_early_setup(void)
/*ATINB_PrepareInit */
get_cpu_rev();
- switch (get_nb_rev(nb_dev)) { /* PCIEMiscInit */
+ uint8_t revno = get_nb_rev(nb_dev);
+ switch (revno) { /* PCIEMiscInit */
case REV_SR5650_A11:
printk(BIOS_INFO, "NB Revision is A11.\n");
break;
@@ -514,6 +516,9 @@ void sr5650_early_setup(void)
case REV_SR5650_A21:
printk(BIOS_INFO, "NB Revision is A21.\n");
break;
+ default:
+ printk(BIOS_INFO, "NB Revision is %02x (Unrecognized).\n", revno);
+ break;
}
fam10_optimization();