sandbox: Allow building with GENERATE_ACPI_TABLE
At present this option is missing a header file, a function prototype and the qfw driver needs a header included. Fix these problems so we can enable this option on sandbox. This will increase the build coverage. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									27ba6289fe
								
							
						
					
					
						commit
						0679cca507
					
				|  | @ -6,4 +6,6 @@ | ||||||
| #ifndef __ASM_ACPI_TABLE_H__ | #ifndef __ASM_ACPI_TABLE_H__ | ||||||
| #define __ASM_ACPI_TABLE_H__ | #define __ASM_ACPI_TABLE_H__ | ||||||
| 
 | 
 | ||||||
|  | ulong write_acpi_tables(ulong start); | ||||||
|  | 
 | ||||||
| #endif /* __ASM_ACPI_TABLE_H__ */ | #endif /* __ASM_ACPI_TABLE_H__ */ | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ | ||||||
| #include <qfw.h> | #include <qfw.h> | ||||||
| #include <dm.h> | #include <dm.h> | ||||||
| #include <misc.h> | #include <misc.h> | ||||||
|  | #include <tables_csum.h> | ||||||
| #ifdef CONFIG_GENERATE_ACPI_TABLE | #ifdef CONFIG_GENERATE_ACPI_TABLE | ||||||
| #include <asm/tables.h> | #include <asm/tables.h> | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue