diff options
author | Furquan Shaikh <furquan@google.com> | 2020-05-09 19:44:52 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2020-05-13 00:17:07 +0000 |
commit | ad4fb6e569d276574ef641d36d8cf02e5e2984e9 (patch) | |
tree | 42dc6c00417bcdb93753b01dde932c495ab1067b /src/soc/amd/common/block/spi/fch_spi_ctrl.c | |
parent | 6d28802d32c397650fadd556afe98da36e489473 (diff) |
soc/amd/common/block/spi: Include mmio.h in fch_spi_ctrl.c
fch_spi_ctrl.c uses read*()/write*() functions which are declared in
arch/mmio.h. This change includes the file arch/mmio.h in
fch_spi_ctrl.c.
Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: I6540004512af1f59f5fb300a3a4818b87ad94bfa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41271
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common/block/spi/fch_spi_ctrl.c')
-rw-r--r-- | src/soc/amd/common/block/spi/fch_spi_ctrl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/spi/fch_spi_ctrl.c b/src/soc/amd/common/block/spi/fch_spi_ctrl.c index b048f1cbf7..13ad0cd32d 100644 --- a/src/soc/amd/common/block/spi/fch_spi_ctrl.c +++ b/src/soc/amd/common/block/spi/fch_spi_ctrl.c @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <arch/mmio.h> #include <console/console.h> #include <spi_flash.h> #include <soc/pci_devs.h> |