ich_descriptors: Unify pretty printing of PCH100+ masters
The newer platforms mostly differ in names and numbers of masters and
regions. Make that obvious, and write a generic printing loop. Hope-
fully this will make future additions easier.
Change-Id: I3e616064743e9558f799159ef8b702f2bbd8ec89
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/182
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/include/ich_descriptors.h b/include/ich_descriptors.h
index 7e123f3..df1a789 100644
--- a/include/ich_descriptors.h
+++ b/include/ich_descriptors.h
@@ -242,7 +242,7 @@
:3;
};
/* From Skylake on */
- struct {
+ struct ich_desc_master_region_access {
uint32_t ext_read :4,
ext_write :4,
read :12,