mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
ufs: core: Fold ufs-uclass into ufs
Move the few lines of ufs-uclass.c into ufs.c and remove the ufs-uclass.c . No functional change. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Link: https://patch.msgid.link/20251028142335.18125-2-marek.vasut+renesas@mailbox.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
parent
9b37b60017
commit
ea97b85617
@ -3,7 +3,7 @@
|
||||
# Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
|
||||
#
|
||||
|
||||
obj-$(CONFIG_UFS) += ufs.o ufs-uclass.o
|
||||
obj-$(CONFIG_UFS) += ufs.o
|
||||
obj-$(CONFIG_CADENCE_UFS) += cdns-platform.o
|
||||
obj-$(CONFIG_UFS_MEDIATEK) += ufs-mediatek.o
|
||||
obj-$(CONFIG_QCOM_UFS) += ufs-qcom.o
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
// 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 "ufs.h"
|
||||
#include <dm.h>
|
||||
|
||||
UCLASS_DRIVER(ufs) = {
|
||||
.id = UCLASS_UFS,
|
||||
.name = "ufs",
|
||||
.per_device_auto = sizeof(struct ufs_hba),
|
||||
};
|
||||
@ -2302,3 +2302,9 @@ U_BOOT_DRIVER(ufs_scsi) = {
|
||||
.name = "ufs_scsi",
|
||||
.ops = &ufs_ops,
|
||||
};
|
||||
|
||||
UCLASS_DRIVER(ufs) = {
|
||||
.id = UCLASS_UFS,
|
||||
.name = "ufs",
|
||||
.per_device_auto = sizeof(struct ufs_hba),
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user