Commit d040ac0a89a6ffdcd27bfba24984a339e8a4addc
1 parent
998110241b
Exists in
v2017.01-smarct4x
and in
37 other branches
x86: Allow an option ROM to be built into U-Boot
Some x86 machines require a binary blob containing 16-bit initialisation code for their video hardware. Allow this to be built into the x86 ROM so that it is accessible during boot. Signed-off-by: Simon Glass <sjg@chromium.org>
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
Makefile
... | ... | @@ -980,6 +980,9 @@ |
980 | 980 | $(objtree)/tools/ifdtool -w \ |
981 | 981 | $(CONFIG_SYS_X86_START16):$(objtree)/u-boot-x86-16bit.bin \ |
982 | 982 | u-boot.tmp |
983 | + $(objtree)/tools/ifdtool -w \ | |
984 | + $(CONFIG_X86_OPTION_ROM_ADDR):$(srctree)/board/$(BOARDDIR)/$(CONFIG_X86_OPTION_ROM_FILENAME) \ | |
985 | + u-boot.tmp | |
983 | 986 | mv u-boot.tmp $@ |
984 | 987 | |
985 | 988 | OBJCOPYFLAGS_u-boot-x86-16bit.bin := -O binary -j .start16 -j .resetvec |