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@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 */