sb/intel/lynxpoint: Use unions for MEI registers
commitdf2049be318d9cc0661798713488a9ae5fe65bb4
authorAngel Pons <th3fanbus@gmail.com>
Wed, 24 Nov 2021 13:39:10 +0000 (24 14:39 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Sat, 18 Dec 2021 12:49:01 +0000 (18 12:49 +0000)
treee60393e3c6628c925d7d5d4d296204af831133e4
parent032255c90ff6844b97a893273ea4581dc27340eb
sb/intel/lynxpoint: Use unions for MEI registers

Wrap bitfield structs in unions to reduce pointer usage. This adds more
uses of the `mei_dump()` function, only used for debugging. Refactoring
the MEI CSR functions to not use pointers is done in a follow-up.

Change-Id: I4defbb8c0e7812bf95c672ce529959f67c34537a
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59623
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
src/southbridge/intel/lynxpoint/me.c
src/southbridge/intel/lynxpoint/me.h