aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/drivers/ata/ahci-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/drivers/ata/ahci-uclass.c')
-rw-r--r--roms/u-boot/drivers/ata/ahci-uclass.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/ata/ahci-uclass.c b/roms/u-boot/drivers/ata/ahci-uclass.c
new file mode 100644
index 000000000..c4c7a03fe
--- /dev/null
+++ b/roms/u-boot/drivers/ata/ahci-uclass.c
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2015 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ */
+
+#include <common.h>
+#include <ahci.h>
+#include <dm.h>
+
+UCLASS_DRIVER(ahci) = {
+ .id = UCLASS_AHCI,
+ .name = "ahci",
+ .per_device_auto = sizeof(struct ahci_uc_priv),
+};