blob: ceea30c4a95c2fb48f70b58eb2375a9bffb2dba4 [file] [log] [blame]
Faiz Abbas7feafb02019-10-15 18:24:36 +05301// 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
Patrick Delaunayb953ec22021-04-27 11:02:19 +02008#define LOG_CATEGORY UCLASS_UFS
9
Faiz Abbas7feafb02019-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 Glass41575d82020-12-03 16:55:17 -070017 .per_device_auto = sizeof(struct ufs_hba),
Faiz Abbas7feafb02019-10-15 18:24:36 +053018};