Attention is currently required from: Stefan Reinauer.
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/68699 )
Change subject: ifdtool: Fix spacing for 10GbE_* ......................................................................
ifdtool: Fix spacing for 10GbE_*
Remove a single whitespace character to align the entry with the other entries printed.
Change-Id: Ie803df6ce9a9772116063ad20bad1c677c3b493c Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M util/ifdtool/ifdtool.c 1 file changed, 17 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/68699/1
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index f543c9d..97bbac2 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -607,11 +607,11 @@ printf(" Flash Descriptor Write Access: %s\n", (flmstr & (1 << wr_shift)) ? "enabled" : "disabled"); if (region_supported(chipset, REGION_10GB_0)) { - printf(" 10GbE_0 Write Access: %s\n", + printf(" 10GbE_0 Write Access: %s\n", (flmstr & (1 << (wr_shift + 11))) ? "enabled" : "disabled"); } if (region_supported(chipset, REGION_10GB_1)) { - printf(" 10GbE_1 Write Access: %s\n", + printf(" 10GbE_1 Write Access: %s\n", (flmstr & (1 << 4)) ? "enabled" : "disabled"); }
@@ -632,11 +632,11 @@ printf(" Flash Descriptor Read Access: %s\n", (flmstr & (1 << rd_shift)) ? "enabled" : "disabled"); if (region_supported(chipset, REGION_10GB_0)) { - printf(" 10GbE_0 Read Access: %s\n", + printf(" 10GbE_0 Read Access: %s\n", (flmstr & (1 << (rd_shift + 11))) ? "enabled" : "disabled"); } if (region_supported(chipset, REGION_10GB_1)) { - printf(" 10GbE_1 Read Access: %s\n", + printf(" 10GbE_1 Read Access: %s\n", (flmstr & (1 << 0)) ? "enabled" : "disabled"); }