src/soc/qualcomm: Add include <types.h>

BIT(x) needs <types.h>.

Change-Id: I6b89bd9616b3f091d6694f9cc20b4bd1a74aad3b
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43709
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS 2020-07-22 11:45:50 +02:00 committed by Patrick Georgi
parent 29c4d1b717
commit 75f75bf285
4 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#define __IPQ40XX_CLOCK_H_ #define __IPQ40XX_CLOCK_H_
#include <soc/iomap.h> #include <soc/iomap.h>
#include <types.h>
/* UART clock @ 7.3728 MHz */ /* UART clock @ 7.3728 MHz */
#define UART_DM_CLK_RX_TX_BIT_RATE 0xFF #define UART_DM_CLK_RX_TX_BIT_RATE 0xFF

View File

@ -5,6 +5,7 @@
#include <delay.h> #include <delay.h>
#include <soc/usb.h> #include <soc/usb.h>
#include <soc/clock.h> #include <soc/clock.h>
#include <types.h>
/* USB BASE ADDRESS */ /* USB BASE ADDRESS */
#define USB_HOST0_DWC3_BASE 0x758C100 #define USB_HOST0_DWC3_BASE 0x758C100

View File

@ -7,8 +7,8 @@
#include <device/mmio.h> #include <device/mmio.h>
#include <gpio.h> #include <gpio.h>
#include <soc/addressmap.h> #include <soc/addressmap.h>
#include <stdint.h>
#include <timer.h> #include <timer.h>
#include <types.h>
#define GENMASK(h, l) (BIT(h + 1) - BIT(l)) #define GENMASK(h, l) (BIT(h + 1) - BIT(l))

View File

@ -8,6 +8,7 @@
#include <soc/qcom_qup_se.h> #include <soc/qcom_qup_se.h>
#include <soc/qupv3_config.h> #include <soc/qupv3_config.h>
#include <soc/qupv3_spi.h> #include <soc/qupv3_spi.h>
#include <types.h>
/* SE_SPI_LOOPBACK register fields */ /* SE_SPI_LOOPBACK register fields */
#define LOOPBACK_ENABLE 0x1 #define LOOPBACK_ENABLE 0x1