diff options
author | Furquan Shaikh <furquan@google.com> | 2020-05-16 15:18:23 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-28 09:43:44 +0000 |
commit | c3568612391a5079f87acc0ea069a263e08be069 (patch) | |
tree | d4ee18b0e698f132ac0f9e0f66a812780fcafce6 /src/mainboard/biostar/am1ml/mptable.c | |
parent | c0dc1e1bbe76fd960f2cb9b17468ed66f17de479 (diff) |
device/resource_allocator_v4: Improve the logging in resource allocator
This change makes the following improvements to debug logging in
resource allocator:
1. Print depth is added to functions in pass 1 to better represent how
the resource requirements of child devices impact the resource windows
for parent bridge.
2. Device path is added to resource ranges to make it easier to
understand what device the resouce ranges are associated with.
3. Prints in pass 2 (update constraints, resource ranges, resource
assignment) are shifted left by 1 to make it easier to visualize
resource allocation for each bridge including domain.
Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: I3356a7278060e281d1a57d253537b097472827a1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41478
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/biostar/am1ml/mptable.c')
0 files changed, 0 insertions, 0 deletions