aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/spi/fch_spi.c
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-02-09 11:24:13 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-02-10 19:00:49 +0000
commit466edb51b4b0c19486f14f43bee8d6834c52abc9 (patch)
tree9ebb3277717e3e0728bb645b06e5f5ade3965394 /src/soc/amd/common/block/spi/fch_spi.c
parent6ba1fcac3402a8719b6d080eb78e67b059a9b2ad (diff)
soc/amd/common/blocks/lpc: Remove common SPI registers
Use the SoC versions instead. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ia0b8129b165f8a2e6be6706ab2e3f2d39e1025a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50446 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block/spi/fch_spi.c')
-rw-r--r--src/soc/amd/common/block/spi/fch_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/spi/fch_spi.c b/src/soc/amd/common/block/spi/fch_spi.c
index c39147a8b3..a644d273a1 100644
--- a/src/soc/amd/common/block/spi/fch_spi.c
+++ b/src/soc/amd/common/block/spi/fch_spi.c
@@ -6,6 +6,7 @@
#include <arch/mmio.h>
#include <console/console.h>
#include <soc/iomap.h>
+#include <soc/lpc.h>
#include <stdint.h>
static void fch_spi_set_spi100(int norm, int fast, int alt, int tpm)