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>
Reviewed-on: https://review.coreboot.org/21517
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Werner Zeh 2017-09-12 07:58:14 +02:00 committed by Aaron Durbin
parent 52f0871b23
commit 461797e3ed
2 changed files with 5 additions and 3 deletions

View File

@ -385,7 +385,9 @@ static const struct param_info params[] = {
[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

View File

@ -115,8 +115,8 @@ typedef enum {
netKind7,
netKind8,
netKind9,
netKind10
netKind10,
LegacyDelay
} hwinfo_field_t;
/* Define used values in supported fields */