include: Make stdbool.h a separate file

This patch moves the traditional POSIX stdbool.h definitions out from
stdint.h into their own file. This helps for using these definitions in
commonlib code which may be compiled in different environments. For
coreboot everything should chain-include this stuff via types.h anyway
so nothing should change.

Change-Id: Ic8d52be80b64d8e9564f3aee8975cb25e4c187f5
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36837
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Julius Werner
2019-11-13 19:50:33 -08:00
committed by Patrick Georgi
parent 85b41445b5
commit a2148377b5
15 changed files with 32 additions and 26 deletions

View File

@@ -17,8 +17,7 @@
#ifndef SOC_INTEL_COMMON_BLOCK_CPULIB_H
#define SOC_INTEL_COMMON_BLOCK_CPULIB_H
#include <stdint.h>
#include <stddef.h>
#include <types.h>
/*
* Set PERF_CTL MSR (0x199) P_Req with

View File

@@ -16,8 +16,7 @@
#ifndef SOC_INTEL_COMMON_BLOCK_FAST_SPI_H
#define SOC_INTEL_COMMON_BLOCK_FAST_SPI_H
#include <stdint.h>
#include <stddef.h>
#include <types.h>
/*
* Disable the BIOS write protect and Enable Prefetching and Caching.

View File

@@ -20,7 +20,7 @@
#define PCR_PORTID_SHIFT 16
#if !defined(__ACPI__)
#include <stdint.h>
#include <types.h>
uint32_t pcr_read32(uint8_t pid, uint16_t offset);
uint16_t pcr_read16(uint8_t pid, uint16_t offset);

View File

@@ -16,6 +16,8 @@
#ifndef __SOC_MEDIATEK_MT6358_H__
#define __SOC_MEDIATEK_MT6358_H__
#include <types.h>
enum {
PMIC_SWCID = 0x000a,
PMIC_VM_MODE = 0x004e,