viatool: Add utility to read various configuration bits on VIA systems

Hardware / Coreboot - Alexandru Gagniuc [gmail.com] - 4 June 2013 15:36 UTC

viatool is a utility for extracting useful for extracting certain configuration bits on VIA chipsets and CPUs. It is a fork of inteltool.

viatool is currently focused on "quirks". Quirks are device configurations that cannot be accessed directly. They are implemented as hierarchical configurations in the PCI or memory address spaces (index/data register pairs). Such configurations refer to hardware parameters that are board specific. Those parameters would otherwise be difficult to extract from a system running the
vendor's firmware.

viatool also preserves inteltool's MSR dumps. VIA CPU and Intel CPU MSRs are nearly identical.

Change-Id: Icbd39eaf7c7da5568732d77dbf2aed135f835754

67f556c viatool: Add utility to read various configuration bits on VIA systems
util/viatool/Makefile | 99 ++++
util/viatool/README | 12 +
util/viatool/cpu.c | 980 ++++++++++++++++++++++++++++++++++++
util/viatool/quirks/quirks.c | 118 +++++
util/viatool/quirks/quirks.h | 38 ++
util/viatool/quirks/vx900_quirks.c | 84 ++++
util/viatool/viatool.c | 256 ++++++++++
util/viatool/viatool.h | 78 +++
8 files changed, 1665 insertions(+)

Upstream: review.coreboot.org


  • Share