Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | cfe85a8 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2015 Google, Inc | ||||
4 | * Written by Simon Glass <sjg@chromium.org> | ||||
Simon Glass | cfe85a8 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 5 | */ |
6 | |||||
Patrick Delaunay | 8131335 | 2021-04-27 11:02:19 +0200 | [diff] [blame] | 7 | #define LOG_CATEGORY UCLASS_AHCI |
8 | |||||
Simon Glass | cfe85a8 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 9 | #include <common.h> |
Simon Glass | 8c67934 | 2017-07-04 13:31:22 -0600 | [diff] [blame] | 10 | #include <ahci.h> |
Simon Glass | cfe85a8 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 11 | #include <dm.h> |
12 | |||||
Simon Glass | 85ee165 | 2016-05-01 11:35:52 -0600 | [diff] [blame] | 13 | UCLASS_DRIVER(ahci) = { |
14 | .id = UCLASS_AHCI, | ||||
15 | .name = "ahci", | ||||
Simon Glass | 8a2b47f | 2020-12-03 16:55:17 -0700 | [diff] [blame] | 16 | .per_device_auto = sizeof(struct ahci_uc_priv), |
Simon Glass | cfe85a8 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 17 | }; |