msrtool: AMD CS5536 probe implementation.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3915 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/util/msrtool/cs5536.c b/util/msrtool/cs5536.c
index d441891..1b512a1 100644
--- a/util/msrtool/cs5536.c
+++ b/util/msrtool/cs5536.c
@@ -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[] = {