mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 08:21:36 +01:00 
			
		
		
		
	Define LOG_CATEGORY for all uclass to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			19 lines
		
	
	
		
			377 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			377 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0
 | |
| /**
 | |
|  * ufs-uclass.c - Universal Flash Subsystem (UFS) Uclass driver
 | |
|  *
 | |
|  * Copyright (C) 2019 Texas Instruments Incorporated - http://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),
 | |
| };
 |