baytrail: introduce pattrs
The pattrs structure is intended for the supporting coreboot
code to reference instead of going back to the source of
the values (msrs, cpuid, etc). It essentially serves as a global
structure for collecting attributes about the platform/processor.
Additionally, the implementation provides a point during boot to
hoook work before device enumeration/initialization by providing
a init() function to soc_intel_baytrail_ops that is called before
device work in the boot state machine.
TEST=Built and booted. Noted pattrs output.
Signed-off-by: Aaron Durbin <firstname.lastname@example.org>
Reviewed-by: Shawn Nematbakhsh <email@example.com>
7 files changed