src/mainboard: Add missing 'include <types.h>'

<types.h> is supposed to provide <stdint.h> and <stddef.h>.
So when <types.h> is included, <stdint.h> and/or <stddef.h> is removed.

Change-Id: I3b1a395cfe8b710fb6b468e68f4c92e063794568
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32811
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
This commit is contained in:
Elyes HAOUAS 2019-05-15 21:12:31 +02:00 committed by Patrick Georgi
parent 27d02d8286
commit e39db681df
13 changed files with 13 additions and 3 deletions

View File

@ -17,7 +17,6 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
@ -44,6 +43,7 @@
#include <cpu/amd/family_10h-family_15h/init_cpus.h> #include <cpu/amd/family_10h-family_15h/init_cpus.h>
#include <arch/early_variables.h> #include <arch/early_variables.h>
#include <cbmem.h> #include <cbmem.h>
#include <types.h>
#include "cpu/amd/quadcore/quadcore.c" #include "cpu/amd/quadcore/quadcore.c"

View File

@ -17,7 +17,6 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>
#include <device/mmio.h> #include <device/mmio.h>
@ -45,6 +44,7 @@
#include <cpu/amd/family_10h-family_15h/init_cpus.h> #include <cpu/amd/family_10h-family_15h/init_cpus.h>
#include <arch/early_variables.h> #include <arch/early_variables.h>
#include <cbmem.h> #include <cbmem.h>
#include <types.h>
#include "cpu/amd/quadcore/quadcore.c" #include "cpu/amd/quadcore/quadcore.c"

View File

@ -31,7 +31,7 @@
#include <device/device.h> #include <device/device.h>
#include <drivers/xpowers/axp209/axp209.h> #include <drivers/xpowers/axp209/axp209.h>
#include <drivers/xpowers/axp209/chip.h> #include <drivers/xpowers/axp209/chip.h>
#include <types.h>
#define GPB_TWI0_FUNC 2 #define GPB_TWI0_FUNC 2
#define GPB_TWI0_PINS ((1 << 0) | (1 << 1)) #define GPB_TWI0_PINS ((1 << 0) | (1 << 1))

View File

@ -22,6 +22,7 @@
#include <northbridge/intel/sandybridge/raminit_native.h> #include <northbridge/intel/sandybridge/raminit_native.h>
#include <southbridge/intel/bd82x6x/pch.h> #include <southbridge/intel/bd82x6x/pch.h>
#include <ec/lenovo/pmh7/pmh7.h> #include <ec/lenovo/pmh7/pmh7.h>
#include <types.h>
const struct southbridge_usb_port mainboard_usb_ports[] = { const struct southbridge_usb_port mainboard_usb_ports[] = {
{ 1, 0, 0 }, /* P0:, OC 0 */ { 1, 0, 0 }, /* P0:, OC 0 */

View File

@ -28,6 +28,7 @@
#include <string.h> #include <string.h>
#include <timer.h> #include <timer.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <types.h>
#define MAX_PATH_DEPTH 12 #define MAX_PATH_DEPTH 12
#define MAX_NUM_MAPPINGS 10 #define MAX_NUM_MAPPINGS 10

View File

@ -25,6 +25,7 @@
#include <timer.h> #include <timer.h>
#include <timestamp.h> #include <timestamp.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <types.h>
#include <variant/ptn3460.h> #include <variant/ptn3460.h>
#define TX_DWORD3 0xa8c #define TX_DWORD3 0xa8c

View File

@ -16,6 +16,7 @@
#include <console/console.h> #include <console/console.h>
#include <hwilib.h> #include <hwilib.h>
#include <device/i2c_simple.h> #include <device/i2c_simple.h>
#include <types.h>
#include <variant/ptn3460.h> #include <variant/ptn3460.h>
/** /**

View File

@ -24,6 +24,7 @@
#include <timestamp.h> #include <timestamp.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <types.h>
#define SD_CAP_BYP 0x810 #define SD_CAP_BYP 0x810
#define SD_CAP_BYP_EN 0x5A #define SD_CAP_BYP_EN 0x5A

View File

@ -28,6 +28,7 @@
#include <timer.h> #include <timer.h>
#include <timestamp.h> #include <timestamp.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <types.h>
#define TX_DWORD3 0xa8c #define TX_DWORD3 0xa8c

View File

@ -16,6 +16,7 @@
#include <console/console.h> #include <console/console.h>
#include <hwilib.h> #include <hwilib.h>
#include <device/i2c_simple.h> #include <device/i2c_simple.h>
#include <types.h>
#include <variant/ptn3460.h> #include <variant/ptn3460.h>
/* /*

View File

@ -26,6 +26,7 @@
#include <timer.h> #include <timer.h>
#include <timestamp.h> #include <timestamp.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <types.h>
#include <variant/ptn3460.h> #include <variant/ptn3460.h>
#define TX_DWORD3 0xa8c #define TX_DWORD3 0xa8c

View File

@ -16,6 +16,7 @@
#include <console/console.h> #include <console/console.h>
#include <hwilib.h> #include <hwilib.h>
#include <device/i2c_simple.h> #include <device/i2c_simple.h>
#include <types.h>
#include <variant/ptn3460.h> #include <variant/ptn3460.h>
/** /**

View File

@ -17,6 +17,7 @@
#include <hwilib.h> #include <hwilib.h>
#include <string.h> #include <string.h>
#include <delay.h> #include <delay.h>
#include <types.h>
#include "soc/i2c.h" #include "soc/i2c.h"
#include "ptn3460.h" #include "ptn3460.h"