[coreboot-gerrit] Change in coreboot[master]: vendorcode/siemens: Add LegacyDelay to hwilib
Werner Zeh (Code Review)
gerrit at coreboot.org
Tue Sep 12 15:42:24 CEST 2017
Werner Zeh has uploaded this change for review. ( https://review.coreboot.org/21517
Change subject: vendorcode/siemens: Add LegacyDelay to hwilib
......................................................................
vendorcode/siemens: Add LegacyDelay to hwilib
Add a new parameter to hwilib called LegacyDelay. It will be used to
define a delay time to wait for legacy devices if coreboot is too fast
for old and slow onboard devices.
Change-Id: Id0386fdea0ecfb3c1ff6ec1c456071246529950a
Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
---
M src/vendorcode/siemens/hwilib/hwilib.c
M src/vendorcode/siemens/hwilib/hwilib.h
2 files changed, 5 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/21517/1
diff --git a/src/vendorcode/siemens/hwilib/hwilib.c b/src/vendorcode/siemens/hwilib/hwilib.c
index 0d4a7a0..4c0cd63 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.c
+++ b/src/vendorcode/siemens/hwilib/hwilib.c
@@ -385,7 +385,9 @@
[FANSensorCfg7] = {
.pos[0] = {.blk_type = BLK_XIB, .offset = 0xd8, .len = 20},
.get_field = hwilib_read_bytes },
-
+ [LegacyDelay] = {
+ .pos[0] = {.blk_type = BLK_XIB, .offset = 0x20c, .len = 4},
+ .get_field = hwilib_read_bytes },
};
/** \brief This functions reads the given field from the first valid hwinfo
diff --git a/src/vendorcode/siemens/hwilib/hwilib.h b/src/vendorcode/siemens/hwilib/hwilib.h
index 9739cf3..6850f07 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.h
+++ b/src/vendorcode/siemens/hwilib/hwilib.h
@@ -115,8 +115,8 @@
netKind7,
netKind8,
netKind9,
- netKind10
-
+ netKind10,
+ LegacyDelay
} hwinfo_field_t;
/* Define used values in supported fields */
--
To view, visit https://review.coreboot.org/21517
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0386fdea0ecfb3c1ff6ec1c456071246529950a
Gerrit-Change-Number: 21517
Gerrit-PatchSet: 1
Gerrit-Owner: Werner Zeh <werner.zeh at siemens.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170912/88f403d6/attachment.html>
More information about the coreboot-gerrit
mailing list