blob: 92fcdf4e6cb7008d9ec1d9810c74264ac127f733 [file] [log] [blame]
Faiz Abbas5cc51072019-10-15 18:24:36 +05301// SPDX-License-Identifier: GPL-2.0
2/**
Bin Meng3816bea2023-10-11 21:15:44 +08003 * ufs-uclass.c - Universal Flash Storage (UFS) Uclass driver
Faiz Abbas5cc51072019-10-15 18:24:36 +05304 *
Nishanth Menoneaa39c62023-11-01 15:56:03 -05005 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
Faiz Abbas5cc51072019-10-15 18:24:36 +05306 */
7
Patrick Delaunay81313352021-04-27 11:02:19 +02008#define LOG_CATEGORY UCLASS_UFS
9
Faiz Abbas5cc51072019-10-15 18:24:36 +053010#include <common.h>
11#include "ufs.h"
12#include <dm.h>
13
14UCLASS_DRIVER(ufs) = {
15 .id = UCLASS_UFS,
16 .name = "ufs",
Simon Glass8a2b47f2020-12-03 16:55:17 -070017 .per_device_auto = sizeof(struct ufs_hba),
Faiz Abbas5cc51072019-10-15 18:24:36 +053018};