7 Oct 18:23
r3640 - trunk/coreboot-v2/src/southbridge/amd/sb600
From: <svn <at> coreboot.org>
Subject: r3640 - trunk/coreboot-v2/src/southbridge/amd/sb600
Newsgroups: gmane.linux.bios
Date: 2008-10-07 16:25:10 GMT
Subject: r3640 - trunk/coreboot-v2/src/southbridge/amd/sb600
Newsgroups: gmane.linux.bios
Date: 2008-10-07 16:25:10 GMT
Author: jcrouse Date: 2008-10-07 18:25:10 +0200 (Tue, 07 Oct 2008) New Revision: 3640 Modified: trunk/coreboot-v2/src/southbridge/amd/sb600/sb600_hda.c Log: [PATCH] coreboot: Don't loop forever waiting for HDA codecs We shouldn't assume the presence of a working HDA codec, so put in a reasonable timeout of 50usecs (timeout value borrowed from the kernel). This makes SimNow work, since apparently though the codec is present in Simnow, it is non functional. Signed-off-by: Jordan Crouse <jordan.crouse <at> amd.com> Acked-by: Ronald G. Minnich <rminnich <at> gmail.com> Modified: trunk/coreboot-v2/src/southbridge/amd/sb600/sb600_hda.c =================================================================== --- trunk/coreboot-v2/src/southbridge/amd/sb600/sb600_hda.c 2008-10-07 12:21:12 UTC (rev 3639) +++ trunk/coreboot-v2/src/southbridge/amd/sb600/sb600_hda.c 2008-10-07 16:25:10 UTC (rev 3640) @@ -26,6 +26,10 @@ #include <delay.h> #include "sb600.h" +#define HDA_ICII_REG 0x68 +#define HDA_ICII_BUSY (1 << 0) +#define HDA_ICII_VALID (1 << 1) + static int set_bits(u8 * port, u32 mask, u32 val)(Continue reading)
RSS Feed