summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-14 21:28:26 -0600
committerSimon Glass <sjg@chromium.org>2017-07-11 10:08:19 -0600
commitf2105c61821b67bc1d572304d901518e88ee007b (patch)
treef2c75cfe5e8861edb20861f1d2970eb70a6dbf96 /drivers/ata/ahci-uclass.c
parent10e40d54b38b9b1916c35fc5c4ed2eff4b4bf117 (diff)
downloadu-boot-f2105c61821b67bc1d572304d901518e88ee007b.tar.gz
sata: Move drivers into new drivers/ata directory
At present we have the SATA and PATA drivers mixed up in the drivers/block directory. It is better to split them out into their own place. Use drivers/ata which is what Linux does. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/ata/ahci-uclass.c')
-rw-r--r--drivers/ata/ahci-uclass.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/ata/ahci-uclass.c b/drivers/ata/ahci-uclass.c
new file mode 100644
index 0000000000..7b8c32699f
--- /dev/null
+++ b/drivers/ata/ahci-uclass.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2015 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <dm.h>
+
+UCLASS_DRIVER(ahci) = {
+ .id = UCLASS_AHCI,
+ .name = "ahci",
+};