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 | |
| 8 | #include <common.h> |
| 9 | #include "ufs.h" |
| 10 | #include <dm.h> |
| 11 | |
| 12 | UCLASS_DRIVER(ufs) = { |
| 13 | .id = UCLASS_UFS, |
| 14 | .name = "ufs", |
Simon Glass | 8a2b47f | 2020-12-03 16:55:17 -0700 | [diff] [blame^] | 15 | .per_device_auto = sizeof(struct ufs_hba), |
Faiz Abbas | 5cc5107 | 2019-10-15 18:24:36 +0530 | [diff] [blame] | 16 | }; |