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", | ||||
15 | .per_device_auto_alloc_size = sizeof(struct ufs_hba), | ||||
16 | }; |