diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-04-18 10:15:47 +0200 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2018-05-03 15:20:28 +0000 |
commit | 8b84f437b197caf07f710ce9abbc6f445c05e739 (patch) | |
tree | d63d12b50cf6d8e1f348f0664ea0a458d78ebc8f /src/arch/arm64/include | |
parent | aa6971eed128912612af207136546bcc32935693 (diff) | |
download | coreboot-8b84f437b197caf07f710ce9abbc6f445c05e739.tar.xz |
pci: Add dummy file for ARM64
Add stub files to support compiling the PCI driver on ARCH_ARM64.
Change-Id: Iaff20463375d1e3ec573d9486a859a0514b0b390
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25722
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/arch/arm64/include')
-rw-r--r-- | src/arch/arm64/include/arch/acpi.h | 32 | ||||
-rw-r--r-- | src/arch/arm64/include/arch/acpigen.h | 19 |
2 files changed, 51 insertions, 0 deletions
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 <tpearson@raptorengineeringinc.com>, + * Raptor Engineering + * Copyright (C) 2016 Siemens AG + * (Written by Stefan Reinauer <stepan@coresystems.de>) + * 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_ */ |