mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	To test this function, sandbox CPU must set cpu_platdata.timebase_freq on bind. It also needs to expose a method to set the current cpu. I also make some most members of cpu_sandbox_ops static. On the timer side, the device tree property sandbox,timebase-frequency-fallback controls whether sandbox_timer_probe falls back to time_timebase_fallback or to SANDBOX_TIMER_RATE. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			12 lines
		
	
	
		
			231 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			231 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ */
 | 
						|
/*
 | 
						|
 * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __SANDBOX_CPU_H
 | 
						|
#define __SANDBOX_CPU_H
 | 
						|
 | 
						|
void cpu_sandbox_set_current(const char *name);
 | 
						|
 | 
						|
#endif /* __SANDBOX_CPU_H */
 |