[coreboot-gerrit] New patch to review for coreboot: southbridge/nvidia/ck804: Fix boot hang on ASUS KFSN4-DRE w/ K8 CPU

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Wed Oct 28 09:05:39 CET 2015


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12209

-gerrit

commit eaa3c8515e6707f76be49ff0a43c18060f80a745
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Wed Oct 28 02:58:37 2015 -0500

    southbridge/nvidia/ck804: Fix boot hang on ASUS KFSN4-DRE w/ K8 CPU
    
    Change-Id: Ie4b74f6d63c323ca499a6890defe9b8afe83ea96
    Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 src/southbridge/nvidia/ck804/early_setup_car.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/southbridge/nvidia/ck804/early_setup_car.c b/src/southbridge/nvidia/ck804/early_setup_car.c
index 87fdbdd..d812146 100644
--- a/src/southbridge/nvidia/ck804/early_setup_car.c
+++ b/src/southbridge/nvidia/ck804/early_setup_car.c
@@ -142,7 +142,7 @@ static void ck804_early_setup(unsigned ck804_num, unsigned *busn,
 		CK804_MB_SETUP
 #endif
 
-#if IS_ENABLED(CONFIG_NORTHBRIDGE_AMD_AMDFAM10)
+#if IS_ENABLED(CONFIG_NORTHBRIDGE_AMD_AMDFAM10) || (IS_ENABLED(CONFIG_NORTHBRIDGE_AMD_AMDK8) && IS_ENABLED(CONFIG_CPU_AMD_SOCKET_F))
 		/*
 		 * Avoid crash (complete with severe memory corruption!) during initial CAR boot
 		 * in ck804_early_setup_x() on Fam10h systems by not touching 0x78.
@@ -351,8 +351,11 @@ static int ck804_early_setup_x(void)
 		}
 	}
 
+	printk(BIOS_DEBUG, "ck804_early_set_port(%d, %d, %d)\n", ck804_num, busn[0], io_base[0]);
 	ck804_early_set_port(ck804_num, busn, io_base);
+	printk(BIOS_DEBUG, "ck804_early_setup(%d, %d, %d)\n", ck804_num, busn[0], io_base[0]);
 	ck804_early_setup(ck804_num, busn, io_base);
+	printk(BIOS_DEBUG, "ck804_early_clear_port(%d, %d, %d)\n", ck804_num, busn[0], io_base[0]);
 	ck804_early_clear_port(ck804_num, busn, io_base);
 
 	return set_ht_link_ck804(4);



More information about the coreboot-gerrit mailing list