From fbda0d31439bd985a8f53e2f77924ea77cd8fe44 Mon Sep 17 00:00:00 2001
From: Peter Stuge <peter@stuge.se>
Date: Mon, 26 Jan 2009 04:12:58 +0000
Subject: 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
---
 util/msrtool/cs5536.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'util')

diff --git a/util/msrtool/cs5536.c b/util/msrtool/cs5536.c
index d441891a3f..1b512a1a8d 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[] = {
-- 
cgit v1.2.3