x86: Add ifwitool for Intel Integrated Firmware Image
Some Intel SoCs from about 2016 boot using an internal microcontroller via an 'IFWI' image. This is a special format which can hold firmware images. In U-Boot's case it holds u-boot-tpl.bin. Add this tool, taken from coreboot, so that we can build bootable images on apollolake SoCs. This tool itself has no tests. Some amount of coverage will be provided by the binman tests that use it, so enable building the tool on sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									ff8c23e784
								
							
						
					
					
						commit
						56bf4f8630
					
				| 
						 | 
					@ -175,6 +175,9 @@ HOSTCFLAGS_mkexynosspl.o := -pedantic
 | 
				
			||||||
ifdtool-objs := $(LIBFDT_OBJS) ifdtool.o
 | 
					ifdtool-objs := $(LIBFDT_OBJS) ifdtool.o
 | 
				
			||||||
hostprogs-$(CONFIG_X86) += ifdtool
 | 
					hostprogs-$(CONFIG_X86) += ifdtool
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ifwitool-objs := ifwitool.o
 | 
				
			||||||
 | 
					hostprogs-$(CONFIG_X86)$(CONFIG_SANDBOX) += ifwitool
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hostprogs-$(CONFIG_MX23) += mxsboot
 | 
					hostprogs-$(CONFIG_MX23) += mxsboot
 | 
				
			||||||
hostprogs-$(CONFIG_MX28) += mxsboot
 | 
					hostprogs-$(CONFIG_MX28) += mxsboot
 | 
				
			||||||
HOSTCFLAGS_mxsboot.o := -pedantic
 | 
					HOSTCFLAGS_mxsboot.o := -pedantic
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue