soc/amd/common/lpc/espi_util: move register definitions to header file
commit38712b84ba5ee2ee3a2a490cdd8f1b5429980eb5
authorFelix Held <felix-coreboot@felixheld.de>
Tue, 4 Jan 2022 20:02:00 +0000 (4 21:02 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 7 Jan 2022 13:20:17 +0000 (7 13:20 +0000)
treeeca0bf44ca168c1aa8af796b80002e2c4dee3b46
parentbeaef09a9b8519e19e9e2af3331d53b4e1eafa85
soc/amd/common/lpc/espi_util: move register definitions to header file

Define the register offsets and bits in a separate header file instead
of in the middle of the .c file.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I814192b2dfeff05877ac857dd89e8cdc7ae5ee25
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60770
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/soc/amd/common/block/lpc/espi_def.h [new file with mode: 0644]
src/soc/amd/common/block/lpc/espi_util.c