soc/intel: Rename <intelblocks/chip.h>

The filename chip.h has a special purpose with the generation
of static devicetree, where the configuration structure name matches
the path to the chip.h file. For example, soc/intel/skylake/chip.h
defines struct soc_intel_skylake_config.

The renamed file did not follow this convention and the structure it
defines would conflict with one defined soc/intel/common/chip.h if such
is ever added.

Change-Id: Id3d56bf092c6111d2293136865b053b095e92d6b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35657
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Kyösti Mälkki 2019-09-28 00:00:30 +03:00
parent 44da9e201c
commit 32d47eb688
22 changed files with 24 additions and 24 deletions

View File

@ -28,7 +28,7 @@
#include <device/pci.h> #include <device/pci.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <intelblocks/acpi.h> #include <intelblocks/acpi.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/fast_spi.h> #include <intelblocks/fast_spi.h>
#include <intelblocks/msr.h> #include <intelblocks/msr.h>
#include <intelblocks/p2sb.h> #include <intelblocks/p2sb.h>

View File

@ -20,7 +20,7 @@
#define _SOC_APOLLOLAKE_CHIP_H_ #define _SOC_APOLLOLAKE_CHIP_H_
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/gspi.h> #include <intelblocks/gspi.h>
#include <soc/gpe.h> #include <soc/gpe.h>
#include <soc/gpio.h> #include <soc/gpio.h>

View File

@ -18,7 +18,7 @@
#include <fsp/api.h> #include <fsp/api.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <intelblocks/acpi.h> #include <intelblocks/acpi.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/itss.h> #include <intelblocks/itss.h>
#include <intelblocks/xdci.h> #include <intelblocks/xdci.h>
#include <romstage_handoff.h> #include <romstage_handoff.h>

View File

@ -18,7 +18,7 @@
#ifndef _SOC_CHIP_H_ #ifndef _SOC_CHIP_H_
#define _SOC_CHIP_H_ #define _SOC_CHIP_H_
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <drivers/i2c/designware/dw_i2c.h> #include <drivers/i2c/designware/dw_i2c.h>
#include <intelblocks/gpio.h> #include <intelblocks/gpio.h>
#include <intelblocks/gspi.h> #include <intelblocks/gspi.h>

View File

@ -14,7 +14,7 @@
*/ */
#include <device/mmio.h> #include <device/mmio.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelpch/lockdown.h> #include <intelpch/lockdown.h>
#include <soc/pm.h> #include <soc/pm.h>

View File

@ -17,7 +17,7 @@
#include <cbmem.h> #include <cbmem.h>
#include <console/console.h> #include <console/console.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/cse.h> #include <intelblocks/cse.h>
#include <intelblocks/pmclib.h> #include <intelblocks/pmclib.h>
#include <memory_info.h> #include <memory_info.h>

View File

@ -21,7 +21,7 @@
#include <cpu/x86/msr.h> #include <cpu/x86/msr.h>
#include <cpu/x86/mp.h> #include <cpu/x86/mp.h>
#include <cpu/intel/microcode.h> #include <cpu/intel/microcode.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/cpulib.h> #include <intelblocks/cpulib.h>
#include <intelblocks/fast_spi.h> #include <intelblocks/fast_spi.h>
#include <intelblocks/mp_init.h> #include <intelblocks/mp_init.h>

View File

@ -21,7 +21,7 @@
#include <device/device.h> #include <device/device.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/gspi.h> #include <intelblocks/gspi.h>
#include <intelblocks/lpss.h> #include <intelblocks/lpss.h>
#include <intelblocks/spi.h> #include <intelblocks/spi.h>

View File

@ -21,7 +21,7 @@
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <drivers/i2c/designware/dw_i2c.h> #include <drivers/i2c/designware/dw_i2c.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/lpss.h> #include <intelblocks/lpss.h>
#include <soc/iomap.h> #include <soc/iomap.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>

View File

@ -13,8 +13,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#ifndef SOC_INTEL_COMMON_BLOCK_CHIP_H #ifndef SOC_INTEL_COMMON_BLOCK_CFG_H
#define SOC_INTEL_COMMON_BLOCK_CHIP_H #define SOC_INTEL_COMMON_BLOCK_CFG_H
#include <intelblocks/gspi.h> #include <intelblocks/gspi.h>
#include <drivers/i2c/designware/dw_i2c.h> #include <drivers/i2c/designware/dw_i2c.h>
@ -42,4 +42,4 @@ struct soc_intel_common_config {
/* This function to retrieve soc config structure required by common code */ /* This function to retrieve soc config structure required by common code */
const struct soc_intel_common_config *chip_get_common_soc_structure(void); const struct soc_intel_common_config *chip_get_common_soc_structure(void);
#endif /* SOC_INTEL_COMMON_BLOCK_CHIP_H */ #endif /* SOC_INTEL_COMMON_BLOCK_CFG_H */

View File

@ -16,7 +16,7 @@
#include <device/pci.h> #include <device/pci.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <console/console.h> #include <console/console.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/mmc.h> #include <intelblocks/mmc.h>
static int mmc_write_dll_reg(void *bar, uint32_t reg, uint32_t val) static int mmc_write_dll_reg(void *bar, uint32_t reg, uint32_t val)

View File

@ -15,7 +15,7 @@
#include <console/console.h> #include <console/console.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/thermal.h> #include <intelblocks/thermal.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>

View File

@ -14,7 +14,7 @@
*/ */
#include <bootstate.h> #include <bootstate.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/fast_spi.h> #include <intelblocks/fast_spi.h>
#include <intelblocks/pcr.h> #include <intelblocks/pcr.h>
#include <intelpch/lockdown.h> #include <intelpch/lockdown.h>

View File

@ -18,7 +18,7 @@
#include <fsp/api.h> #include <fsp/api.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <intelblocks/acpi.h> #include <intelblocks/acpi.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/itss.h> #include <intelblocks/itss.h>
#include <intelblocks/xdci.h> #include <intelblocks/xdci.h>
#include <romstage_handoff.h> #include <romstage_handoff.h>

View File

@ -16,7 +16,7 @@
#ifndef _SOC_CHIP_H_ #ifndef _SOC_CHIP_H_
#define _SOC_CHIP_H_ #define _SOC_CHIP_H_
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <drivers/i2c/designware/dw_i2c.h> #include <drivers/i2c/designware/dw_i2c.h>
#include <intelblocks/gpio.h> #include <intelblocks/gpio.h>
#include <intelblocks/gspi.h> #include <intelblocks/gspi.h>

View File

@ -14,7 +14,7 @@
*/ */
#include <device/mmio.h> #include <device/mmio.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelpch/lockdown.h> #include <intelpch/lockdown.h>
#include <soc/pm.h> #include <soc/pm.h>

View File

@ -17,7 +17,7 @@
#include <cbmem.h> #include <cbmem.h>
#include <console/console.h> #include <console/console.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/cse.h> #include <intelblocks/cse.h>
#include <intelblocks/pmclib.h> #include <intelblocks/pmclib.h>
#include <memory_info.h> #include <memory_info.h>

View File

@ -19,7 +19,7 @@
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/itss.h> #include <intelblocks/itss.h>
#include <intelblocks/lpc_lib.h> #include <intelblocks/lpc_lib.h>
#include <intelblocks/xdci.h> #include <intelblocks/xdci.h>

View File

@ -22,7 +22,7 @@
#include <arch/acpi_device.h> #include <arch/acpi_device.h>
#include <device/i2c_simple.h> #include <device/i2c_simple.h>
#include <drivers/i2c/designware/dw_i2c.h> #include <drivers/i2c/designware/dw_i2c.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/gspi.h> #include <intelblocks/gspi.h>
#include <intelblocks/lpc_lib.h> #include <intelblocks/lpc_lib.h>
#include <stdint.h> #include <stdint.h>

View File

@ -23,7 +23,7 @@
#include <device/device.h> #include <device/device.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/itss.h> #include <intelblocks/itss.h>
#include <intelblocks/lpc_lib.h> #include <intelblocks/lpc_lib.h>
#include <intelblocks/mp_init.h> #include <intelblocks/mp_init.h>

View File

@ -15,7 +15,7 @@
*/ */
#include <device/device.h> #include <device/device.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <drivers/i2c/designware/dw_i2c.h> #include <drivers/i2c/designware/dw_i2c.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>

View File

@ -14,7 +14,7 @@
*/ */
#include <device/mmio.h> #include <device/mmio.h>
#include <intelblocks/chip.h> #include <intelblocks/cfg.h>
#include <intelblocks/lpc_lib.h> #include <intelblocks/lpc_lib.h>
#include <intelpch/lockdown.h> #include <intelpch/lockdown.h>
#include <soc/pm.h> #include <soc/pm.h>