summaryrefslogtreecommitdiff
path: root/src/acpi/sata.h
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2015-04-16 02:03:26 +0200
committerPeter Stuge <peter@stuge.se>2015-06-07 01:24:47 +0200
commit7710379da9a5d06c7a6b2bcda29fa834575c551e (patch)
tree5b9b6a899359e9b2425c4b96f3d465b3229d235e /src/acpi/sata.h
parent88935481c9a76da33df25473469d52c778a13fa4 (diff)
downloadcoreboot-7710379da9a5d06c7a6b2bcda29fa834575c551e.tar.xz
acpi/sata: add generic sata ssdt port generator
generate_sata_ssdt_ports() generates ports based on sata enable map Change-Id: Ie68e19c93f093d6c61634c4adfde484b88f28a77 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-on: http://review.coreboot.org/9708 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese <zaolin@das-labor.org> Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/acpi/sata.h')
-rw-r--r--src/acpi/sata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/acpi/sata.h b/src/acpi/sata.h
new file mode 100644
index 0000000000..af4b03dc12
--- /dev/null
+++ b/src/acpi/sata.h
@@ -0,0 +1,3 @@
+#include <stdint.h>
+
+void generate_sata_ssdt_ports(const char *scope, uint32_t enable_map);