xref: /OK3568_Linux_fs/u-boot/drivers/ufs/ufs-uclass.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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 #define LOG_CATEGORY UCLASS_UFS
9 
10 #include <common.h>
11 #include "ufs.h"
12 #include <dm.h>
13 
14 UCLASS_DRIVER(ufs) = {
15 	.id	= UCLASS_UFS,
16 	.name	= "ufs",
17 	.per_device_auto_alloc_size = sizeof(struct ufs_hba),
18 };
19