summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-26 04:12:58 +0000
committerPeter Stuge <peter@stuge.se>2009-01-26 04:12:58 +0000
commitfbda0d31439bd985a8f53e2f77924ea77cd8fe44 (patch)
tree48431721d960b246b37b7ea11f3dd91550035d1c /util
parent279cdbb37d7106650abbbe4aca19ec770e44cdfc (diff)
downloadcoreboot-fbda0d31439bd985a8f53e2f77924ea77cd8fe44.tar.xz
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
Diffstat (limited to 'util')
-rw-r--r--util/msrtool/cs5536.c3
1 files changed, 1 insertions, 2 deletions
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[] = {