2019-10-15 12:54:36 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/**
|
|
|
|
* ufs-uclass.c - Universal Flash Subsystem (UFS) Uclass driver
|
|
|
|
*
|
2023-11-01 20:56:03 +00:00
|
|
|
* Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
|
2019-10-15 12:54:36 +00:00
|
|
|
*/
|
|
|
|
|
2021-04-27 09:02:19 +00:00
|
|
|
#define LOG_CATEGORY UCLASS_UFS
|
|
|
|
|
2019-10-15 12:54:36 +00:00
|
|
|
#include <common.h>
|
|
|
|
#include "ufs.h"
|
|
|
|
#include <dm.h>
|
|
|
|
|
|
|
|
UCLASS_DRIVER(ufs) = {
|
|
|
|
.id = UCLASS_UFS,
|
|
|
|
.name = "ufs",
|
2020-12-03 23:55:17 +00:00
|
|
|
.per_device_auto = sizeof(struct ufs_hba),
|
2019-10-15 12:54:36 +00:00
|
|
|
};
|