Hello,

This patch prevents a long loop through memory until superiotool finds an EOT.

Signed-off-by: Joshua Roys <[email protected]>

Thanks,

Josh
>From 38dee478a9c61527b345b44fc56cd8e9196723b3 Mon Sep 17 00:00:00 2001
From: Joshua Roys <[email protected]>
Date: Sun, 20 Nov 2011 15:05:50 -0500
Subject: [PATCH] superiotool: add EOT for Infineon ports

Signed-off-by: Joshua Roys <[email protected]>
---
 util/superiotool/superiotool.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 5583ec5..94918b8 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -247,7 +247,7 @@ static const struct {
        {probe_idregs_amd,      {0xaa, EOT}},
 #endif
        {probe_idregs_serverengines,    {0x2e, EOT}},
-       {probe_idregs_infineon, {0x2e, 0x4e}},
+       {probe_idregs_infineon, {0x2e, 0x4e, EOT}},
 };
 
 /** Table of functions to print out supported Super I/O chips. */
-- 
1.7.6.4

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

Reply via email to