Faiz Abbas | 5cc5107 | 2019-10-15 18:24:36 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /** |
| 3 | * ufs-uclass.c - Universal Flash Subsystem (UFS) Uclass driver |
| 4 | * |
| 5 | * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com |
| 6 | */ |
| 7 | |
Patrick Delaunay | 8131335 | 2021-04-27 11:02:19 +0200 | [diff] [blame] | 8 | #define LOG_CATEGORY UCLASS_UFS |
| 9 | |
Faiz Abbas | 5cc5107 | 2019-10-15 18:24:36 +0530 | [diff] [blame] | 10 | #include <common.h> |
| 11 | #include "ufs.h" |
| 12 | #include <dm.h> |
| 13 | |
| 14 | UCLASS_DRIVER(ufs) = { |
| 15 | .id = UCLASS_UFS, |
| 16 | .name = "ufs", |
Simon Glass | 8a2b47f | 2020-12-03 16:55:17 -0700 | [diff] [blame] | 17 | .per_device_auto = sizeof(struct ufs_hba), |
Faiz Abbas | 5cc5107 | 2019-10-15 18:24:36 +0530 | [diff] [blame] | 18 | }; |