mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	It is useful to dump ACPI tables in U-Boot to see what has been generated. Add a command to handle this. To allow the command to find the tables, add a position into the global data. Support subcommands to list and dump the tables. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			581 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			581 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (c) 2011 The Chromium OS Authors.
 | |
|  *
 | |
|  * (C) Copyright 2002-2010
 | |
|  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 | |
|  */
 | |
| 
 | |
| #ifndef	__ASM_GBL_DATA_H
 | |
| #define __ASM_GBL_DATA_H
 | |
| 
 | |
| /* Architecture-specific global data */
 | |
| struct arch_global_data {
 | |
| 	uint8_t		*ram_buf;	/* emulated RAM buffer */
 | |
| 	void		*text_base;	/* pointer to base of text region */
 | |
| 	ulong acpi_start;		/* Start address of ACPI tables */
 | |
| };
 | |
| 
 | |
| #include <asm-generic/global_data.h>
 | |
| 
 | |
| #define DECLARE_GLOBAL_DATA_PTR     extern gd_t *gd
 | |
| 
 | |
| #endif /* __ASM_GBL_DATA_H */
 |