mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	This function is available but not exported. More generally it does not really work as intended. Reimplement it and add a sandbox test too. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			23 lines
		
	
	
		
			438 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			438 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0
 | 
						|
/*
 | 
						|
 * Sandbox driver for testing interrupts with of-platdata
 | 
						|
 *
 | 
						|
 * Copyright 2021 Google LLC
 | 
						|
 */
 | 
						|
 | 
						|
#include <common.h>
 | 
						|
#include <dm.h>
 | 
						|
#include <irq.h>
 | 
						|
#include <asm/irq.h>
 | 
						|
 | 
						|
static const struct udevice_id sandbox_irq_test_ids[] = {
 | 
						|
	{ .compatible = "sandbox,irq-test" },
 | 
						|
	{ }
 | 
						|
};
 | 
						|
 | 
						|
U_BOOT_DRIVER(sandbox_irq_test) = {
 | 
						|
	.name = "sandbox_irq_test",
 | 
						|
	.id = UCLASS_MISC,
 | 
						|
	.of_match = sandbox_irq_test_ids,
 | 
						|
};
 |