mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +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),
|
|
};
|