mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Call the hardware-init function from QEMU from SPL. This allows the video BIOS to operate correctly. Create an x86-wide qemu.h header to avoid having to #ifdef the header in spl.c Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> # qemu-x86_64
		
			
				
	
	
		
			15 lines
		
	
	
		
			235 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			235 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0 */
 | 
						|
/*
 | 
						|
 * Generic QEMU header
 | 
						|
 *
 | 
						|
 * Copyright 2023 Google LLC
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __QEMU_H
 | 
						|
#define __QEMU_H
 | 
						|
 | 
						|
/* set up the chipset for QEMU so that video can be used */
 | 
						|
void qemu_chipset_init(void);
 | 
						|
 | 
						|
#endif
 |