tree: Use <stdio.h> for snprintf
<stdio.h> header is used for input/output operations (such as printf, scanf, fopen, etc.). Although some input/output functions can manipulate strings, they do not need to directly include <string.h> because they are declared independently. Change-Id: Ibe2a4ff6f68843a6d99cfdfe182cf2dd922802aa Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82665 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
93ca6b676c
commit
bdd03c20d5
@ -14,6 +14,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/soundwire.h>
|
||||
#include <stdio.h>
|
||||
#include <types.h>
|
||||
|
||||
static char *gencurrent;
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <acpi/acpigen_dptf.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* Defaults */
|
||||
#define DEFAULT_RAW_UNIT "ma"
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <acpi/acpigen.h>
|
||||
#include <acpi/acpigen_usb.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static const char *power_role_to_str(enum usb_typec_power_role power_role)
|
||||
{
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <acpi/acpigen_pci.h>
|
||||
#include <device/device.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <types.h>
|
||||
#include <crc_byte.h>
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <arch/smc.h>
|
||||
#include <console/console.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
static void smbios_processor_id(u32 *processor_id)
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <cpu/x86/name.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static int smbios_cpu_vendor(u8 *start)
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <console/vtxprintf.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
struct vsnprintf_context {
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <device/mmio.h>
|
||||
#include <rmodule.h>
|
||||
#include <smmstore.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <cbfs.h>
|
||||
#include <cbmem.h>
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <commonlib/bsd/helpers.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <acpi/acpi_device.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
#include <console/console.h>
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <acpi/acpi_device.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <gpio.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <acpi/acpigen.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <acpi/acpigen.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <acpi/acpi_device.h>
|
||||
#include <assert.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
#include <gpio.h>
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <device/device.h>
|
||||
#include <identity.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <vendorcode/google/dsm_calib.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <device/i2c.h>
|
||||
#include <device/device.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <vendorcode/google/dsm_calib.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
#include <acpi/acpigen.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define RT5645_ACPI_NAME "RT58"
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <intelblocks/pmc_ipc.h>
|
||||
#include <stdio.h>
|
||||
#include <soc/dptf.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include "chip.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <commonlib/fsp.h>
|
||||
#include <console/console.h>
|
||||
#include <fsp/util.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
#include <assert.h>
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <acpi/acpigen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "i915.h"
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define CSI2_DATA_STREAM_INTERFACE_GUID \
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <console/console.h>
|
||||
#include <drivers/usb/acpi/chip.h>
|
||||
#include <intelblocks/acpi.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <device/device.h>
|
||||
#include <drivers/usb/acpi/chip.h>
|
||||
#include <gpio.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
#include "retimer.h"
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <device/device.h>
|
||||
#include <device/spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <delay.h>
|
||||
#include <cpu/x86/mp.h>
|
||||
#include <timer.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <soc/soc_util.h>
|
||||
#include <soc/util.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <device/device.h>
|
||||
#include <device/spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <acpi/acpi_device.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <console/console.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <acpi/acpigen.h>
|
||||
#include <acpi/acpi_device.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/xhci.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define PCI_XHCI_CLASSCODE 0x0c0330 /* USB3.0 xHCI controller */
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <device/pci_ids.h>
|
||||
#include <mtcl.h>
|
||||
#include <sar.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <wrdd.h>
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/mmio.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "ec.h"
|
||||
|
@ -5,6 +5,8 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/path.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define CROS_EC_AUDIO_CODEC_HID "GOOG0013"
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <acpi/acpigen_dptf.h>
|
||||
#include <ec/google/common/dptf.h>
|
||||
#include <drivers/intel/dptf/chip.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
/*
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <console/console.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <smbios.h>
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/path.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <acpi/acpigen.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <smbios.h>
|
||||
#include <option.h>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <console/console.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "h8.h"
|
||||
|
@ -1,8 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
/**
|
||||
* Note: This file is only for POSIX compatibility, and is meant to be
|
||||
* chain-included via string.h.
|
||||
* Note: This file is only for POSIX compatibility.
|
||||
*/
|
||||
|
||||
#ifndef STDIO_H
|
||||
|
@ -4,7 +4,6 @@
|
||||
#define STRING_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h> /* IWYU pragma: export */
|
||||
|
||||
void *memcpy(void *dest, const void *src, size_t n);
|
||||
void *memmove(void *dest, const void *src, size_t n);
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <endian.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <memrange.h>
|
||||
#include <fit.h>
|
||||
#include <boardid.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci.h>
|
||||
#include <drivers/vpd/vpd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static u8 smbios_checksum(u8 *p, u32 length)
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <memory_info.h>
|
||||
#include <smbios.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* this function will fill the corresponding locator */
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <console/console.h>
|
||||
#include <security/vboot/misc.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ux_locales.h>
|
||||
#include <vb2_api.h>
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <smbios.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/nhlt.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <timer.h>
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console/console.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/sdram.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <soc/acpi.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <stdio.h>
|
||||
#include <amdblocks/acpimmio.h>
|
||||
#include <variant/ec.h>
|
||||
#include <variant/thermal.h>
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <soc/mtcmos.h>
|
||||
#include <soc/spm.h>
|
||||
#include <soc/usb.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gpio.h"
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <intelblocks/power_limit.h>
|
||||
#include <smbios.h>
|
||||
#include <soc/ramstage.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <variant/sku.h>
|
||||
#include <gpio.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <variant/sku.h>
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <baseboard/variants.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sar.h>
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <nhlt.h>
|
||||
#include <smbios.h>
|
||||
#include <soc/nhlt.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <variant/ec.h>
|
||||
#include <variant/gpio.h>
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <ec/ec.h>
|
||||
#include <fw_config.h>
|
||||
#include <soc/ramstage.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <intelblocks/tcss.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/ramstage.h>
|
||||
#include <stdio.h>
|
||||
#include <variant/gpio.h>
|
||||
#include <vb2_api.h>
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <soc/ramstage.h>
|
||||
#include <soc/smmrelocate.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "include/spr_sbp1_gpio.h"
|
||||
#include <bootstate.h>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <smbios.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "board_id.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <soc/ramstage.h>
|
||||
#include <smbios.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
const char *smbios_system_sku(void)
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <ec/ec.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
const char *smbios_system_sku(void)
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <console/console.h>
|
||||
#include <drivers/intel/gma/int15.h>
|
||||
#include <option.h>
|
||||
#include <stdio.h>
|
||||
#include <superio/hwm5_conf.h>
|
||||
#include <superio/nuvoton/common/hwm.h>
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <drivers/intel/gma/int15.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
#include <southbridge/intel/common/gpio.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <smbios.h>
|
||||
#include "ec.h"
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <soc/smmrelocate.h>
|
||||
#include <soc/soc_util.h>
|
||||
#include <soc/util.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <southbridge/amd/common/amd_pci_util.h>
|
||||
#include <superio/nuvoton/nct5104d/nct5104d.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <AGESA.h>
|
||||
#include "gpio_ftns.h"
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <device/device.h>
|
||||
#include <gpio.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <console/console.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include <intelblocks/pmclib.h>
|
||||
#include <smbios.h>
|
||||
#include <soc/pm.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <cbfs.h>
|
||||
#include <symbols.h>
|
||||
#include "crtm.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
static int tpm_log_initialized;
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <soc/uart.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <symbols.h>
|
||||
#include <libbdk-boot/bdk-boot.h>
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <device/path.h>
|
||||
#include <intelblocks/acpi.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <stdio.h>
|
||||
#include <types.h>
|
||||
|
||||
#define CPPC_NOM_FREQ_IDX 22
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/util.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <soc/dptx.h>
|
||||
#include <soc/dsi.h>
|
||||
#include <soc/mtcmos.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
static struct panel_serializable_data *get_mipi_cmd_from_cbfs(struct panel_description *desc)
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <southbridge/intel/common/acpi_pirq_gen.h>
|
||||
#include <southbridge/intel/common/rcba_pirq.h>
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpi_gnvs.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <version.h>
|
||||
#include <soc/nvs.h>
|
||||
|
@ -8,6 +8,7 @@
|
||||
#include <acpi/acpi.h>
|
||||
#include <console/console.h>
|
||||
#include <types.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
struct superio_dev {
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include <cpu/cpu.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/soc_chip.h>
|
||||
#include <stdio.h>
|
||||
#include <xSIM-api.h>
|
||||
#include "opensil_console.h"
|
||||
#include "opensil.h"
|
||||
|
@ -37,6 +37,7 @@
|
||||
* ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU.
|
||||
***********************license end**************************************/
|
||||
#include <bdk.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <libbdk-hal/bdk-config.h>
|
||||
#include <libbdk-hal/bdk-l2c.h>
|
||||
|
@ -48,6 +48,7 @@
|
||||
#include <libbdk-hal/bdk-utils.h>
|
||||
#include <libbdk-os/bdk-init.h>
|
||||
#include <libbdk-os/bdk-thread.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* This code is an optional part of the BDK. It is only linked in
|
||||
if BDK_REQUIRE() needs it */
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <lame_string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static struct bdk_devicetree_key_value *config_fdt;
|
||||
|
||||
|
@ -38,6 +38,7 @@
|
||||
***********************license end**************************************/
|
||||
#include <bdk.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "libbdk-arch/bdk-csrs-ap.h"
|
||||
#include "libbdk-arch/bdk-csrs-pccpf.h"
|
||||
|
@ -43,6 +43,7 @@
|
||||
#include "dram-internal.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <libbdk-hal/bdk-config.h>
|
||||
#include <libbdk-hal/bdk-l2c.h>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <boardid.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
const char *smbios_mainboard_version(void)
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <helpers/file.h>
|
||||
#include <lib.h>
|
||||
#include <lib/lzmadecode.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <tests/test.h>
|
||||
|
||||
void die(const char *msg, ...)
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0-only */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user