From 8b84f437b197caf07f710ce9abbc6f445c05e739 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 18 Apr 2018 10:15:47 +0200 Subject: pci: Add dummy file for ARM64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add stub files to support compiling the PCI driver on ARCH_ARM64. Change-Id: Iaff20463375d1e3ec573d9486a859a0514b0b390 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/25722 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Kyösti Mälkki --- src/arch/arm64/include/arch/acpi.h | 32 ++++++++++++++++++++++++++++++++ src/arch/arm64/include/arch/acpigen.h | 19 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 src/arch/arm64/include/arch/acpi.h create mode 100644 src/arch/arm64/include/arch/acpigen.h (limited to 'src') diff --git a/src/arch/arm64/include/arch/acpi.h b/src/arch/arm64/include/arch/acpi.h new file mode 100644 index 0000000000..6e16482580 --- /dev/null +++ b/src/arch/arm64/include/arch/acpi.h @@ -0,0 +1,32 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2004 SUSE LINUX AG + * Copyright (C) 2004 Nick Barker + * Copyright (C) 2008-2009 coresystems GmbH + * Copyright (C) 2015 Timothy Pearson , + * Raptor Engineering + * Copyright (C) 2016 Siemens AG + * (Written by Stefan Reinauer ) + * Copyright 2018-present Facebook, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __ARCH_ACPI_H_ +#define __ARCH_ACPI_H_ + +/* STUB */ + +static inline int acpi_is_wakeup(void) { return 0; } +static inline int acpi_is_wakeup_s3(void) { return 0; } +static inline int acpi_is_wakeup_s4(void) { return 0; } + +#endif /* __ARCH_ACPI_H_ */ diff --git a/src/arch/arm64/include/arch/acpigen.h b/src/arch/arm64/include/arch/acpigen.h new file mode 100644 index 0000000000..1ca538e703 --- /dev/null +++ b/src/arch/arm64/include/arch/acpigen.h @@ -0,0 +1,19 @@ +/* + * This file is part of the coreboot project. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __ARCH_ACPIGEN_H_ +#define __ARCH_ACPIGEN_H_ + +/* STUB */ + +#endif /* __ARCH_ACPIGEN_H_ */ -- cgit v1.2.3