ufs-uclass.c 377 B

123456789101112131415161718
  1. // 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. #define LOG_CATEGORY UCLASS_UFS
  8. #include <common.h>
  9. #include "ufs.h"
  10. #include <dm.h>
  11. UCLASS_DRIVER(ufs) = {
  12. .id = UCLASS_UFS,
  13. .name = "ufs",
  14. .per_device_auto = sizeof(struct ufs_hba),
  15. };