acpi: Move ACPI table support out of arch/x86 (3/5)
This change moves all ACPI table support in coreboot currently living under arch/x86 into common code to make it architecture independent. ACPI table generation is not really tied to any architecture and hence it makes sense to move this to its own directory. In order to make it easier to review, this change is being split into multiple CLs. This is change 3/5 which basically is generated by running the following command: $ git grep -iIl "arch/acpi" | xargs sed -i 's/arch\/acpi/acpi\/acpi/g' BUG=b:155428745 Change-Id: I16b1c45d954d6440fb9db1d3710063a47b582eae Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40938 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/acpigen.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <device/mmio.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <cbmem.h>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <stdint.h>
|
||||
#include <console/console.h>
|
||||
#include <cbmem.h>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#ifndef _BAYTRAIL_ACPI_H_
|
||||
#define _BAYTRAIL_ACPI_H_
|
||||
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <soc/nvs.h>
|
||||
|
||||
void acpi_fill_in_fadt(acpi_fadt_t *fadt);
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#ifndef _BAYTRAIL_PMC_H_
|
||||
#define _BAYTRAIL_PMC_H_
|
||||
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
|
||||
#define IOCOM1 0x3f8
|
||||
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <stddef.h>
|
||||
#include <soc/iomap.h>
|
||||
#include <soc/iosf.h>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <stdint.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <arch/io.h>
|
||||
#include <bootmode.h>
|
||||
#include <device/device.h>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/intel/microcode.h>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <console/streams.h>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <assert.h>
|
||||
#include <cbfs.h>
|
||||
#include <cbmem.h>
|
||||
|
@@ -5,7 +5,7 @@
|
||||
#include <arch/io.h>
|
||||
#include <device/mmio.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <bootstate.h>
|
||||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <soc/ramstage.h>
|
||||
#include <soc/spi.h>
|
||||
#include "chip.h"
|
||||
#include <arch/acpigen.h>
|
||||
#include <acpi/acpigen.h>
|
||||
|
||||
static inline void
|
||||
add_mmio_resource(struct device *dev, int i, unsigned long addr,
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* This file is part of the coreboot project. */
|
||||
|
||||
#include <arch/acpi.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
|
Reference in New Issue
Block a user