blob: 334bfcfa06a429efcc04d099e7de978684c0490e [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 "ufs.h"
11#include <dm.h>
12
13UCLASS_DRIVER(ufs) = {
14 .id = UCLASS_UFS,
15 .name = "ufs",
Simon Glass8a2b47f2020-12-03 16:55:17 -070016 .per_device_auto = sizeof(struct ufs_hba),
Faiz Abbas5cc51072019-10-15 18:24:36 +053017};