Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/29403 )
Change subject: src: Add missing include <stdint.h> ......................................................................
src: Add missing include <stdint.h>
Change-Id: Idf10a09745756887a517da4c26db7a90a1bf9543 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/29403 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Nico Huber nico.h@gmx.de --- M src/arch/x86/include/arch/registers.h M src/cpu/ti/am335x/uart.h M src/drivers/i2c/max98373/chip.h M src/drivers/i2c/rt5663/chip.h M src/drivers/i2c/w83795/chip.h M src/drivers/intel/fsp2_0/include/fsp/upd.h M src/drivers/net/chip.h M src/drivers/parade/ps8625/ps8625.h M src/drivers/siemens/nc_fpga/nc_fpga.h M src/include/cpu/amd/vr.h M src/include/device/path.h M src/include/swab.h M src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h M src/mainboard/google/urara/urara_boardid.h M src/mainboard/pcengines/apu1/gpio_ftns.h M src/northbridge/intel/e7505/raminit.h M src/northbridge/intel/haswell/pei_data.h M src/northbridge/intel/sandybridge/pei_data.h M src/security/tpm/tss/tcg-1.2/tss_commands.h M src/security/tpm/tss/tcg-1.2/tss_internal.h M src/security/tpm/tss_errors.h M src/soc/broadcom/cygnus/include/soc/tz.h M src/soc/cavium/cn81xx/include/soc/cpu.h M src/soc/cavium/common/include/soc/bootblock.h M src/soc/intel/apollolake/include/soc/usb.h M src/soc/intel/broadwell/chip.h M src/soc/intel/cannonlake/include/soc/ebda.h M src/soc/intel/denverton_ns/chip.h M src/soc/intel/icelake/include/soc/ebda.h M src/soc/intel/quark/include/soc/i2c.h M src/soc/intel/skylake/include/soc/ebda.h M src/soc/nvidia/tegra210/include/soc/flow_ctrl.h M src/soc/qualcomm/ipq806x/include/soc/ebi2.h M src/southbridge/intel/bd82x6x/chip.h M src/southbridge/intel/fsp_bd82x6x/chip.h M src/southbridge/intel/fsp_i89xx/chip.h M src/southbridge/intel/i82801dx/chip.h M src/southbridge/intel/i82801gx/chip.h M src/southbridge/intel/i82801ix/chip.h M src/southbridge/intel/i82801jx/chip.h M src/southbridge/intel/lynxpoint/chip.h M src/superio/nuvoton/npcd378/npcd378.h 42 files changed, 90 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved
diff --git a/src/arch/x86/include/arch/registers.h b/src/arch/x86/include/arch/registers.h index 08f83ac..1d3b90a 100644 --- a/src/arch/x86/include/arch/registers.h +++ b/src/arch/x86/include/arch/registers.h @@ -17,6 +17,8 @@ #define __ARCH_REGISTERS_H
#if !defined(__ASSEMBLER__) +#include <stdint.h> + #define DOWNTO8(A) \ union { \ struct { \ diff --git a/src/cpu/ti/am335x/uart.h b/src/cpu/ti/am335x/uart.h index 000a45d..fe9197f 100644 --- a/src/cpu/ti/am335x/uart.h +++ b/src/cpu/ti/am335x/uart.h @@ -15,6 +15,8 @@ #ifndef AM335X_UART_H #define AM335X_UART_H
+#include <stdint.h> + #define AM335X_UART0_BASE 0x44e09000 #define AM335X_UART1_BASE 0x48020000 #define AM335X_UART2_BASE 0x48024000 diff --git a/src/drivers/i2c/max98373/chip.h b/src/drivers/i2c/max98373/chip.h index ad81395..dcaf357 100644 --- a/src/drivers/i2c/max98373/chip.h +++ b/src/drivers/i2c/max98373/chip.h @@ -16,6 +16,9 @@ /* * Maxim MAX98373 audio codec devicetree bindings */ + +#include <stdint.h> + struct drivers_i2c_max98373_config { /* I2C Bus Frequency in Hertz (default 400kHz) */ uint32_t bus_speed; diff --git a/src/drivers/i2c/rt5663/chip.h b/src/drivers/i2c/rt5663/chip.h index 1b367c9..5720b18 100644 --- a/src/drivers/i2c/rt5663/chip.h +++ b/src/drivers/i2c/rt5663/chip.h @@ -16,6 +16,9 @@ /* * Realtek RT5663 audio codec devicetree bindings */ + +#include <stdint.h> + struct drivers_i2c_rt5663_config { /* I2C Bus Frequency in Hertz (default 400kHz) */ unsigned int bus_speed; diff --git a/src/drivers/i2c/w83795/chip.h b/src/drivers/i2c/w83795/chip.h index b48c523..e3426de 100644 --- a/src/drivers/i2c/w83795/chip.h +++ b/src/drivers/i2c/w83795/chip.h @@ -13,6 +13,8 @@ * GNU General Public License for more details. */
+#include <stdint.h> + struct drivers_i2c_w83795_config { uint8_t fanin_ctl1; uint8_t fanin_ctl2; diff --git a/src/drivers/intel/fsp2_0/include/fsp/upd.h b/src/drivers/intel/fsp2_0/include/fsp/upd.h index 15094df..19c5423 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/upd.h +++ b/src/drivers/intel/fsp2_0/include/fsp/upd.h @@ -12,6 +12,8 @@ #ifndef _FSP2_0_UPD_H_ #define _FSP2_0_UPD_H_
+#include <stdint.h> + struct FSP_UPD_HEADER { /// /// UPD Region Signature. This signature will be diff --git a/src/drivers/net/chip.h b/src/drivers/net/chip.h index 383614f..985a85a 100644 --- a/src/drivers/net/chip.h +++ b/src/drivers/net/chip.h @@ -14,6 +14,8 @@ #ifndef __DRIVERS_R8168_CHIP_H__ #define __DRIVERS_R8168_CHIP_H__
+#include <stdint.h> + struct drivers_net_config { uint16_t customized_leds; unsigned wake; /* Wake pin for ACPI _PRW */ diff --git a/src/drivers/parade/ps8625/ps8625.h b/src/drivers/parade/ps8625/ps8625.h index 1fbb01c..a5132f1 100644 --- a/src/drivers/parade/ps8625/ps8625.h +++ b/src/drivers/parade/ps8625/ps8625.h @@ -16,6 +16,8 @@ #ifndef __PS8625_H__ #define __PS8625_H__
+#include <stdint.h> + struct parade_write { uint8_t offset; uint8_t reg; diff --git a/src/drivers/siemens/nc_fpga/nc_fpga.h b/src/drivers/siemens/nc_fpga/nc_fpga.h index fe5f612..f1982d2 100644 --- a/src/drivers/siemens/nc_fpga/nc_fpga.h +++ b/src/drivers/siemens/nc_fpga/nc_fpga.h @@ -16,6 +16,8 @@ #ifndef _SIEMENS_NC_FPGA_H_ #define _SIEMENS_NC_FPGA_H_
+#include <stdint.h> + #define NC_MAGIC_OFFSET 0x020 #define NC_FPGA_MAGIC 0x4E433746 #define NC_CAP1_OFFSET 0x080 diff --git a/src/include/cpu/amd/vr.h b/src/include/cpu/amd/vr.h index e5ab840..8c62e44 100644 --- a/src/include/cpu/amd/vr.h +++ b/src/include/cpu/amd/vr.h @@ -7,6 +7,8 @@ #ifndef CPU_AMD_VR_H #define CPU_AMD_VR_H
+#include <stdint.h> + #define VRC_INDEX 0xAC1C // Index register #define VRC_DATA 0xAC1E // Data register #define VR_UNLOCK 0xFC53 // Virtual register unlock code diff --git a/src/include/device/path.h b/src/include/device/path.h index 0d9c681..6736bed 100644 --- a/src/include/device/path.h +++ b/src/include/device/path.h @@ -1,6 +1,8 @@ #ifndef DEVICE_PATH_H #define DEVICE_PATH_H
+#include <stdint.h> + enum device_path_type { DEVICE_PATH_NONE = 0, DEVICE_PATH_ROOT, diff --git a/src/include/swab.h b/src/include/swab.h index 7d781a0..956cfa5 100644 --- a/src/include/swab.h +++ b/src/include/swab.h @@ -1,6 +1,3 @@ -#ifndef _SWAB_H -#define _SWAB_H - /* * linux/byteorder/swab.h * Byte-swapping, independently from CPU endianness @@ -18,6 +15,12 @@ /* casts are necessary for constants, because we never know how for sure * how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way. */ + +#ifndef _SWAB_H +#define _SWAB_H + +#include <stdint.h> + #define swab16(x) \ ((unsigned short)( \ (((unsigned short)(x) & (unsigned short)0x00ffU) << 8) | \ diff --git a/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h b/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h index 903ebaa..8f1e24c 100644 --- a/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h +++ b/src/mainboard/emulation/qemu-i440fx/fw_cfg_if.h @@ -17,6 +17,8 @@ * Copyed over from qemu soure tree, include/hw/nvram/fw_cfg.h */
+#include <stdint.h> + #define FW_CFG_SIGNATURE 0x00 #define FW_CFG_ID 0x01 #define FW_CFG_UUID 0x02 diff --git a/src/mainboard/google/urara/urara_boardid.h b/src/mainboard/google/urara/urara_boardid.h index 7c7c045..fbd9179 100644 --- a/src/mainboard/google/urara/urara_boardid.h +++ b/src/mainboard/google/urara/urara_boardid.h @@ -16,6 +16,8 @@ #ifndef __MAINBOARD_GOOGLE_URARA_URARA_BOARDID_H__ #define __MAINBOARD_GOOGLE_URARA_URARA_BOARDID_H__
+#include <stdint.h> + /* * List of URARA derivatives board ID definitions. They are stored in uint8_t * across the code, using #defines here not to imply any specific size. diff --git a/src/mainboard/pcengines/apu1/gpio_ftns.h b/src/mainboard/pcengines/apu1/gpio_ftns.h index 8eadebd..fce8afe 100644 --- a/src/mainboard/pcengines/apu1/gpio_ftns.h +++ b/src/mainboard/pcengines/apu1/gpio_ftns.h @@ -16,6 +16,8 @@ #ifndef GPIO_FTNS_H #define GPIO_FTNS_H
+#include <stdint.h> + uintptr_t find_gpio_base(void); void configure_gpio(uintptr_t base_addr, u32 gpio, u8 iomux_ftn, u8 setting); u8 read_gpio(uintptr_t base_addr, u32 gpio); diff --git a/src/northbridge/intel/e7505/raminit.h b/src/northbridge/intel/e7505/raminit.h index 1581b82..cdfc92a 100644 --- a/src/northbridge/intel/e7505/raminit.h +++ b/src/northbridge/intel/e7505/raminit.h @@ -14,6 +14,8 @@ #ifndef RAMINIT_H #define RAMINIT_H
+#include <stdint.h> + #define MAX_DIMM_SOCKETS_PER_CHANNEL 4 #define MAX_NUM_CHANNELS 2 #define MAX_DIMM_SOCKETS (MAX_NUM_CHANNELS * MAX_DIMM_SOCKETS_PER_CHANNEL) diff --git a/src/northbridge/intel/haswell/pei_data.h b/src/northbridge/intel/haswell/pei_data.h index 319b9e7..dfc34d8 100644 --- a/src/northbridge/intel/haswell/pei_data.h +++ b/src/northbridge/intel/haswell/pei_data.h @@ -30,6 +30,8 @@ #ifndef PEI_DATA_H #define PEI_DATA_H
+#include <stdint.h> + typedef void (*tx_byte_func)(unsigned char byte); #define PEI_VERSION 15
diff --git a/src/northbridge/intel/sandybridge/pei_data.h b/src/northbridge/intel/sandybridge/pei_data.h index 00534ca..0a60707 100644 --- a/src/northbridge/intel/sandybridge/pei_data.h +++ b/src/northbridge/intel/sandybridge/pei_data.h @@ -30,6 +30,8 @@ #ifndef PEI_DATA_H #define PEI_DATA_H
+#include <stdint.h> + typedef struct { uint16_t mode; // 0: Disable, 1: Enable, 2: Auto, 3: Smart Auto uint16_t hs_port_switch_mask; // 4 bit mask, 1: switchable, 0: not switchable diff --git a/src/security/tpm/tss/tcg-1.2/tss_commands.h b/src/security/tpm/tss/tcg-1.2/tss_commands.h index 9d30bfc..acdc8be 100644 --- a/src/security/tpm/tss/tcg-1.2/tss_commands.h +++ b/src/security/tpm/tss/tcg-1.2/tss_commands.h @@ -14,6 +14,8 @@ * GNU General Public License for more details. */
+#include <stdint.h> + const struct s_tpm_extend_cmd{ uint8_t buffer[34]; uint16_t pcrNum; diff --git a/src/security/tpm/tss/tcg-1.2/tss_internal.h b/src/security/tpm/tss/tcg-1.2/tss_internal.h index 01912bb..e999cb9 100644 --- a/src/security/tpm/tss/tcg-1.2/tss_internal.h +++ b/src/security/tpm/tss/tcg-1.2/tss_internal.h @@ -6,6 +6,8 @@ #ifndef TCG_TSS_INTERNAL_H_ #define TCG_TSS_INTERNAL_H_
+#include <stdint.h> + /* * These numbers derive from adding the sizes of command fields as shown in the * TPM commands manual. diff --git a/src/security/tpm/tss_errors.h b/src/security/tpm/tss_errors.h index c80ffa1..316661c 100644 --- a/src/security/tpm/tss_errors.h +++ b/src/security/tpm/tss_errors.h @@ -12,6 +12,8 @@ #ifndef TSS_ERRORS_H_ #define TSS_ERRORS_H_
+#include <stdint.h> + #define TPM_E_BASE 0x0 #define TPM_E_NON_FATAL 0x800
diff --git a/src/soc/broadcom/cygnus/include/soc/tz.h b/src/soc/broadcom/cygnus/include/soc/tz.h index a6777fd..1d5d234 100644 --- a/src/soc/broadcom/cygnus/include/soc/tz.h +++ b/src/soc/broadcom/cygnus/include/soc/tz.h @@ -14,6 +14,8 @@ #ifndef __SOC_BROADCOM_CYGNUS_TZ_H__ #define __SOC_BROADCOM_CYGNUS_TZ_H__
+#include <stdint.h> + #define TZ_STATE_SECURE 0 #define TZ_STATE_NON_SECURE 1
diff --git a/src/soc/cavium/cn81xx/include/soc/cpu.h b/src/soc/cavium/cn81xx/include/soc/cpu.h index b2472d7..1c6a30d 100644 --- a/src/soc/cavium/cn81xx/include/soc/cpu.h +++ b/src/soc/cavium/cn81xx/include/soc/cpu.h @@ -17,6 +17,8 @@ #ifndef __SOC_CAVIUM_CN81XX_CPU_H__ #define __SOC_CAVIUM_CN81XX_CPU_H__
+#include <stdint.h> + /** * Number of the Core on which the program is currently running. * diff --git a/src/soc/cavium/common/include/soc/bootblock.h b/src/soc/cavium/common/include/soc/bootblock.h index 76fd4a15..1df444f 100644 --- a/src/soc/cavium/common/include/soc/bootblock.h +++ b/src/soc/cavium/common/include/soc/bootblock.h @@ -16,6 +16,8 @@ #ifndef SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_BOOTBLOCK_H_ #define SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_BOOTBLOCK_H_
+#include <stdint.h> + void bootblock_mainboard_early_init(void); void bootblock_soc_early_init(void); void bootblock_soc_init(void); diff --git a/src/soc/intel/apollolake/include/soc/usb.h b/src/soc/intel/apollolake/include/soc/usb.h index 7220023..7dd9ec0 100644 --- a/src/soc/intel/apollolake/include/soc/usb.h +++ b/src/soc/intel/apollolake/include/soc/usb.h @@ -18,6 +18,8 @@ #ifndef _SOC_APOLLOLAKE_USB_H_ #define _SOC_APOLLOLAKE_USB_H_
+#include <stdint.h> + #define APOLLOLAKE_USB2_PORT_MAX 8
struct usb2_eye_per_port { diff --git a/src/soc/intel/broadwell/chip.h b/src/soc/intel/broadwell/chip.h index 46c2c1d..0885c2d 100644 --- a/src/soc/intel/broadwell/chip.h +++ b/src/soc/intel/broadwell/chip.h @@ -17,6 +17,8 @@ #ifndef _SOC_INTEL_BROADWELL_CHIP_H_ #define _SOC_INTEL_BROADWELL_CHIP_H_
+#include <stdint.h> + struct soc_intel_broadwell_config { /* * Interrupt Routing configuration diff --git a/src/soc/intel/cannonlake/include/soc/ebda.h b/src/soc/intel/cannonlake/include/soc/ebda.h index 15a9d28..ad62394 100644 --- a/src/soc/intel/cannonlake/include/soc/ebda.h +++ b/src/soc/intel/cannonlake/include/soc/ebda.h @@ -16,6 +16,8 @@ #ifndef SOC_EBDA_H #define SOC_EBDA_H
+#include <stdint.h> + struct ebda_config { uint32_t signature; /* 0x00 - EBDA signature */ uint32_t tolum_base; /* 0x04 - coreboot memory start */ diff --git a/src/soc/intel/denverton_ns/chip.h b/src/soc/intel/denverton_ns/chip.h index bfa6a01..f2a67dd 100644 --- a/src/soc/intel/denverton_ns/chip.h +++ b/src/soc/intel/denverton_ns/chip.h @@ -17,6 +17,8 @@ #ifndef SOC_INTEL_DENVERTON_NS_CHIP_H #define SOC_INTEL_DENVERTON_NS_CHIP_H
+#include <stdint.h> + struct soc_intel_denverton_ns_config { /** * Interrupt Routing configuration diff --git a/src/soc/intel/icelake/include/soc/ebda.h b/src/soc/intel/icelake/include/soc/ebda.h index 9c44a50..f4d89e9 100644 --- a/src/soc/intel/icelake/include/soc/ebda.h +++ b/src/soc/intel/icelake/include/soc/ebda.h @@ -16,6 +16,8 @@ #ifndef SOC_EBDA_H #define SOC_EBDA_H
+#include <stdint.h> + struct ebda_config { uint32_t signature; /* 0x00 - EBDA signature */ uint32_t tolum_base; /* 0x04 - coreboot memory start */ diff --git a/src/soc/intel/quark/include/soc/i2c.h b/src/soc/intel/quark/include/soc/i2c.h index 85ae7b9..f3c585f 100644 --- a/src/soc/intel/quark/include/soc/i2c.h +++ b/src/soc/intel/quark/include/soc/i2c.h @@ -16,6 +16,8 @@ #ifndef _QUARK_I2C_H_ #define _QUARK_I2C_H_
+#include <stdint.h> + typedef volatile struct _I2C_REGS { volatile uint32_t ic_con; /* 00: Control Register */ volatile uint32_t ic_tar; /* 04: Master Target Address */ diff --git a/src/soc/intel/skylake/include/soc/ebda.h b/src/soc/intel/skylake/include/soc/ebda.h index 15a9d28..ad62394 100644 --- a/src/soc/intel/skylake/include/soc/ebda.h +++ b/src/soc/intel/skylake/include/soc/ebda.h @@ -16,6 +16,8 @@ #ifndef SOC_EBDA_H #define SOC_EBDA_H
+#include <stdint.h> + struct ebda_config { uint32_t signature; /* 0x00 - EBDA signature */ uint32_t tolum_base; /* 0x04 - coreboot memory start */ diff --git a/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h b/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h index 2dd1f9f..602c75c 100644 --- a/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h +++ b/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h @@ -16,6 +16,8 @@ #ifndef _TEGRA210_FLOW_CTRL_H_ #define _TEGRA210_FLOW_CTRL_H_
+#include <stdint.h> + void flowctrl_cpu_off(int cpu); void flowctrl_cpu_on(int cpu); void flowctrl_cpu_suspend(int cpu); diff --git a/src/soc/qualcomm/ipq806x/include/soc/ebi2.h b/src/soc/qualcomm/ipq806x/include/soc/ebi2.h index 3e99c3b..5dcd9b8 100644 --- a/src/soc/qualcomm/ipq806x/include/soc/ebi2.h +++ b/src/soc/qualcomm/ipq806x/include/soc/ebi2.h @@ -19,6 +19,8 @@ #ifndef __SOC_QUALCOMM_IPQ806X_EBI2_H_ #define __SOC_QUALCOMM_IPQ806X_EBI2_H_
+#include <stdint.h> + #define EBI2CR_BASE (0x1A600000)
struct ebi2cr_regs { diff --git a/src/southbridge/intel/bd82x6x/chip.h b/src/southbridge/intel/bd82x6x/chip.h index ce8a804..29f6881 100644 --- a/src/southbridge/intel/bd82x6x/chip.h +++ b/src/southbridge/intel/bd82x6x/chip.h @@ -16,6 +16,8 @@ #ifndef SOUTHBRIDGE_INTEL_BD82X6X_CHIP_H #define SOUTHBRIDGE_INTEL_BD82X6X_CHIP_H
+#include <stdint.h> + struct southbridge_intel_bd82x6x_config { /** * GPI Routing configuration diff --git a/src/southbridge/intel/fsp_bd82x6x/chip.h b/src/southbridge/intel/fsp_bd82x6x/chip.h index 9d6a9e4..8da3936 100644 --- a/src/southbridge/intel/fsp_bd82x6x/chip.h +++ b/src/southbridge/intel/fsp_bd82x6x/chip.h @@ -16,6 +16,8 @@ #ifndef SOUTHBRIDGE_INTEL_FSP_BD82X6X_CHIP_H #define SOUTHBRIDGE_INTEL_FSP_BD82X6X_CHIP_H
+#include <stdint.h> + struct southbridge_intel_fsp_bd82x6x_config { /** * Interrupt Routing configuration diff --git a/src/southbridge/intel/fsp_i89xx/chip.h b/src/southbridge/intel/fsp_i89xx/chip.h index 69e1dc7..bea3e07 100644 --- a/src/southbridge/intel/fsp_i89xx/chip.h +++ b/src/southbridge/intel/fsp_i89xx/chip.h @@ -16,6 +16,8 @@ #ifndef SOUTHBRIDGE_INTEL_I89XX_CHIP_H #define SOUTHBRIDGE_INTEL_I89XX_CHIP_H
+#include <stdint.h> + struct southbridge_intel_fsp_i89xx_config { /** * Interrupt Routing configuration diff --git a/src/southbridge/intel/i82801dx/chip.h b/src/southbridge/intel/i82801dx/chip.h index f77413d..a0961ee 100644 --- a/src/southbridge/intel/i82801dx/chip.h +++ b/src/southbridge/intel/i82801dx/chip.h @@ -17,6 +17,8 @@ #ifndef I82801DX_CHIP_H #define I82801DX_CHIP_H
+#include <stdint.h> + struct southbridge_intel_i82801dx_config { int enable_usb; int enable_native_ide; diff --git a/src/southbridge/intel/i82801gx/chip.h b/src/southbridge/intel/i82801gx/chip.h index e89fcc4..3a20ab1 100644 --- a/src/southbridge/intel/i82801gx/chip.h +++ b/src/southbridge/intel/i82801gx/chip.h @@ -16,6 +16,8 @@ #ifndef SOUTHBRIDGE_INTEL_I82801GX_CHIP_H #define SOUTHBRIDGE_INTEL_I82801GX_CHIP_H
+#include <stdint.h> + struct southbridge_intel_i82801gx_config { /** * Interrupt Routing configuration diff --git a/src/southbridge/intel/i82801ix/chip.h b/src/southbridge/intel/i82801ix/chip.h index 307b751..0b3e0b5 100644 --- a/src/southbridge/intel/i82801ix/chip.h +++ b/src/southbridge/intel/i82801ix/chip.h @@ -17,6 +17,8 @@ #ifndef SOUTHBRIDGE_INTEL_I82801IX_CHIP_H #define SOUTHBRIDGE_INTEL_I82801IX_CHIP_H
+#include <stdint.h> + enum { THTL_DEF = 0, THTL_87_5 = 1, THTL_75_0 = 2, THTL_62_5 = 3, THTL_50_0 = 4, THTL_37_5 = 5, THTL_25_0 = 6, THTL_12_5 = 7 diff --git a/src/southbridge/intel/i82801jx/chip.h b/src/southbridge/intel/i82801jx/chip.h index 533254a..1712b81 100644 --- a/src/southbridge/intel/i82801jx/chip.h +++ b/src/southbridge/intel/i82801jx/chip.h @@ -17,6 +17,8 @@ #ifndef SOUTHBRIDGE_INTEL_I82801JX_CHIP_H #define SOUTHBRIDGE_INTEL_I82801JX_CHIP_H
+#include <stdint.h> + enum { THTL_DEF = 0, THTL_87_5 = 1, THTL_75_0 = 2, THTL_62_5 = 3, THTL_50_0 = 4, THTL_37_5 = 5, THTL_25_0 = 6, THTL_12_5 = 7 diff --git a/src/southbridge/intel/lynxpoint/chip.h b/src/southbridge/intel/lynxpoint/chip.h index d11ce5f..09f1c90 100644 --- a/src/southbridge/intel/lynxpoint/chip.h +++ b/src/southbridge/intel/lynxpoint/chip.h @@ -16,6 +16,8 @@ #ifndef SOUTHBRIDGE_INTEL_LYNXPOINT_CHIP_H #define SOUTHBRIDGE_INTEL_LYNXPOINT_CHIP_H
+#include <stdint.h> + struct southbridge_intel_lynxpoint_config { /** * Interrupt Routing configuration diff --git a/src/superio/nuvoton/npcd378/npcd378.h b/src/superio/nuvoton/npcd378/npcd378.h index 53541a9..cf0b804 100644 --- a/src/superio/nuvoton/npcd378/npcd378.h +++ b/src/superio/nuvoton/npcd378/npcd378.h @@ -17,6 +17,8 @@ #ifndef SUPERIO_NUVOTON_NPCD378_H #define SUPERIO_NUVOTON_NPCD378_H
+#include <stdint.h> + /* HWM at LDN8 */ #define NPCD837_HWM_WRITE_LOCK_CTRL 0x4 #define NPCD837_HWM_WRITE_LOCK_BIT 0x1