x86: Move acpi_s3.h to include/acpi/
This header relates to ACPI and we are about to add some more ACPI headers. Move this one into a new directory so they are together. The header inclusion in pci_rom.c is not specific to x86 anymore, so drop the #ifdef CONFIG_X86. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
f50cc95288
commit
3cabcf966d
@ -6,13 +6,13 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <dm.h>
|
||||
#include <ec_commands.h>
|
||||
#include <log.h>
|
||||
#include <spi_flash.h>
|
||||
#include <spl.h>
|
||||
#include <syscon.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/cpu.h>
|
||||
#include <asm/cpu_common.h>
|
||||
#include <asm/cpu_x86.h>
|
||||
|
@ -5,11 +5,11 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <binman.h>
|
||||
#include <dm.h>
|
||||
#include <irq.h>
|
||||
#include <malloc.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/intel_pinctrl.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/intel_regs.h>
|
||||
|
@ -9,10 +9,10 @@
|
||||
#define LOG_CATEGORY UCLASS_ACPI_PMC
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <dt-structs.h>
|
||||
#include <dm.h>
|
||||
#include <spl.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/pci.h>
|
||||
#include <power/acpi_pmc.h>
|
||||
|
@ -4,15 +4,15 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <cpu.h>
|
||||
#include <dm.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/acpi_table.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/tables.h>
|
||||
#include <asm/arch/global_nvs.h>
|
||||
#include <asm/arch/iomap.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
|
||||
void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs,
|
||||
void *dsdt)
|
||||
|
@ -19,7 +19,6 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <command.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
@ -27,6 +26,7 @@
|
||||
#include <init.h>
|
||||
#include <malloc.h>
|
||||
#include <syscon.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/acpi.h>
|
||||
#include <asm/acpi_table.h>
|
||||
#include <asm/control_regs.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
* From coreboot src/arch/x86/wakeup.S
|
||||
*/
|
||||
|
||||
#include <acpi_s3.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/processor-flags.h>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/acpi.h>
|
||||
#include <asm/acpi_table.h>
|
||||
#include <asm/post.h>
|
||||
|
@ -4,9 +4,9 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <malloc.h>
|
||||
#include <vbe.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/coreboot_tables.h>
|
||||
#include <asm/e820.h>
|
||||
|
||||
|
@ -4,11 +4,11 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <cpu_func.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <rtc.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/cmos_layout.h>
|
||||
#include <asm/early_cmos.h>
|
||||
#include <asm/io.h>
|
||||
|
@ -4,11 +4,11 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <rtc.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/cmos_layout.h>
|
||||
#include <asm/early_cmos.h>
|
||||
#include <asm/io.h>
|
||||
|
@ -5,9 +5,9 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <handoff.h>
|
||||
#include <spl.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/fsp/fsp_support.h>
|
||||
#include <asm/fsp2/fsp_api.h>
|
||||
|
@ -33,12 +33,10 @@
|
||||
#include <vbe.h>
|
||||
#include <video.h>
|
||||
#include <video_fb.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <linux/screen_info.h>
|
||||
|
||||
#ifdef CONFIG_X86
|
||||
#include <acpi_s3.h>
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
#endif
|
||||
|
||||
__weak bool board_should_run_oprom(struct udevice *dev)
|
||||
{
|
||||
|
@ -6,9 +6,9 @@
|
||||
#define LOG_CATEGORY UCLASS_ACPI_PMC
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#ifdef CONFIG_X86
|
||||
#include <asm/intel_pinctrl.h>
|
||||
#endif
|
||||
|
@ -6,11 +6,11 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <acpi_s3.h>
|
||||
#include <dm.h>
|
||||
#include <efi_loader.h>
|
||||
#include <pch.h>
|
||||
#include <sysreset.h>
|
||||
#include <acpi/acpi_s3.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user