mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
d6e052c615
To quote the author: This adds a PCI UFS controller support and enables the support on QEMU RISC-V for testing. Requiring QEMU v8.2+.
18 lines
376 B
C
18 lines
376 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/**
|
|
* ufs-uclass.c - Universal Flash Storage (UFS) Uclass driver
|
|
*
|
|
* Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
|
|
*/
|
|
|
|
#define LOG_CATEGORY UCLASS_UFS
|
|
|
|
#include <common.h>
|
|
#include "ufs.h"
|
|
#include <dm.h>
|
|
|
|
UCLASS_DRIVER(ufs) = {
|
|
.id = UCLASS_UFS,
|
|
.name = "ufs",
|
|
.per_device_auto = sizeof(struct ufs_hba),
|
|
};
|