summaryrefslogtreecommitdiff
path: root/src/acpi
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-30 19:19:33 -0700
committerFurquan Shaikh <furquan@google.com>2020-05-02 20:41:39 +0000
commitc0bff9755f12a6de9b15faf1498a096cf699d310 (patch)
treec6a8cff1f683f0f93c94788e14e4364e6ba1df4a /src/acpi
parent56a5ebf48d648f0df4bf338c441a79968734e5a5 (diff)
downloadcoreboot-c0bff9755f12a6de9b15faf1498a096cf699d310.tar.xz
acpi: Update sata files to be more aligned with rest of acpi files
This change moves sata.h to include/acpi/acpi_sata.h to align with the rest of the acpi header files in include/acpi. BUG=b:155428745 Change-Id: I3f97e5c12535a331d7347c0ecad00b07b5f13f37 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40933 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/acpi')
-rw-r--r--src/acpi/sata.c3
-rw-r--r--src/acpi/sata.h11
2 files changed, 1 insertions, 13 deletions
diff --git a/src/acpi/sata.c b/src/acpi/sata.c
index f2f53e6f64..110742e84c 100644
--- a/src/acpi/sata.c
+++ b/src/acpi/sata.c
@@ -1,10 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */
-#include "sata.h"
-
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
+#include <acpi/acpi_sata.h>
/* e.g.
* generate_sata_ssdt_ports("\_SB.PCI0.SATA", 0x3);
diff --git a/src/acpi/sata.h b/src/acpi/sata.h
deleted file mode 100644
index 5ca2eac254..0000000000
--- a/src/acpi/sata.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
-
-#ifndef __ACPI_SATA_H__
-#define __ACPI_SATA_H__
-
-#include <stdint.h>
-
-void generate_sata_ssdt_ports(const char *scope, uint32_t enable_map);
-
-#endif