diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-07-22 11:43:47 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-07-28 19:29:01 +0000 |
commit | 553a22e316e00d81e0a70afe3272c7b33a0bc571 (patch) | |
tree | a2343b7a8e8ce96e0e24db27c7667ac7eebfecf6 /src/soc/amd/common/block/spi/fch_spi_ctrl.c | |
parent | 56e889cedb824cae3590806be48e687dad3d9ac5 (diff) |
src/soc/amd: Add include <types.h>
BIT(x) needs <types.h>.
Change-Id: Icaeda969cae52d9c62d976db4ead0e734efa838c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43706
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
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 1e0c31ab27..565fdbe149 100644 --- a/src/soc/amd/common/block/spi/fch_spi_ctrl.c +++ b/src/soc/amd/common/block/spi/fch_spi_ctrl.c @@ -8,6 +8,7 @@ #include <device/pci_ops.h> #include <lib.h> #include <timer.h> +#include <types.h> #define GRANULARITY_TEST_4k 0x0000f000 /* bits 15-12 */ #define WORD_TO_DWORD_UPPER(x) ((x << 16) & 0xffff0000) |