Christian Walter has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37607 )
Change subject: superio/common/generic.c: Assign resources behind device ......................................................................
superio/common/generic.c: Assign resources behind device
If multiple devices are behind a dev, we would only recognise port 0. We need to scan the complete 'bus' even though it is not a bridge.
Tested on ASpeed AST2500
Change-Id: Id80a2ae6e82c151b8d8adc9c5f35f38362d538fa Signed-off-by: Christian Walter christian.walter@9elements.com --- M src/superio/common/generic.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/37607/1
diff --git a/src/superio/common/generic.c b/src/superio/common/generic.c index 429ee51..b954f36 100644 --- a/src/superio/common/generic.c +++ b/src/superio/common/generic.c @@ -21,6 +21,8 @@ { struct resource *res;
+ assign_resources(dev->link_list); + for (res = dev->resource_list; res; res = res->next) { if (!(res->flags & IORESOURCE_ASSIGNED)) continue;