mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Add a set of tests for the IOMMU uclass. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			19 lines
		
	
	
		
			371 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			371 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0+
 | 
						|
/*
 | 
						|
 * Copyright (C) 2021 Mark Kettenis <kettenis@openbsd.org>
 | 
						|
 */
 | 
						|
 | 
						|
#include <common.h>
 | 
						|
#include <dm.h>
 | 
						|
 | 
						|
static const struct udevice_id sandbox_iommu_ids[] = {
 | 
						|
	{ .compatible = "sandbox,iommu" },
 | 
						|
	{ /* sentinel */ }
 | 
						|
};
 | 
						|
 | 
						|
U_BOOT_DRIVER(sandbox_iommu) = {
 | 
						|
	.name = "sandbox_iommu",
 | 
						|
	.id = UCLASS_IOMMU,
 | 
						|
	.of_match = sandbox_iommu_ids,
 | 
						|
};
 |