Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | e3b5f04 | 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 | e3b5f04 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 5 | */ |
6 | |||||
Patrick Delaunay | b953ec2 | 2021-04-27 11:02:19 +0200 | [diff] [blame] | 7 | #define LOG_CATEGORY UCLASS_AHCI |
8 | |||||
Simon Glass | e3b5f04 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 9 | #include <common.h> |
Simon Glass | bfc1c6b | 2017-07-04 13:31:22 -0600 | [diff] [blame] | 10 | #include <ahci.h> |
Simon Glass | e3b5f04 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 11 | #include <dm.h> |
12 | |||||
Simon Glass | a219639 | 2016-05-01 11:35:52 -0600 | [diff] [blame] | 13 | UCLASS_DRIVER(ahci) = { |
14 | .id = UCLASS_AHCI, | ||||
15 | .name = "ahci", | ||||
Simon Glass | 41575d8 | 2020-12-03 16:55:17 -0700 | [diff] [blame] | 16 | .per_device_auto = sizeof(struct ahci_uc_priv), |
Simon Glass | e3b5f04 | 2016-01-17 16:11:34 -0700 | [diff] [blame] | 17 | }; |