Author: stuge
Date: 2009-01-26 05:12:58 +0100 (Mon, 26 Jan 2009)
New Revision: 3915

Modified:
   trunk/util/msrtool/cs5536.c
Log:
msrtool: AMD CS5536 probe implementation.

Signed-off-by: Peter Stuge <[email protected]>
Acked-by: Peter Stuge <[email protected]>


Modified: trunk/util/msrtool/cs5536.c
===================================================================
--- trunk/util/msrtool/cs5536.c 2009-01-26 04:10:12 UTC (rev 3914)
+++ trunk/util/msrtool/cs5536.c 2009-01-26 04:12:58 UTC (rev 3915)
@@ -20,8 +20,7 @@
 #include "msrtool.h"
 
 int cs5536_probe(const struct targetdef *target) {
-       /* TODO: PCI 1022:2090 */
-       return 0;
+       return (NULL != pci_dev_find(0x1022, 0x2090));
 }
 
 const struct msrdef cs5536_msrs[] = {


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to