mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
998110241b
commit
d040ac0a89
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -980,6 +980,9 @@ u-boot.rom: u-boot-x86-16bit.bin u-boot-dtb.bin \
|
|||
$(objtree)/tools/ifdtool -w \
|
||||
$(CONFIG_SYS_X86_START16):$(objtree)/u-boot-x86-16bit.bin \
|
||||
u-boot.tmp
|
||||
$(objtree)/tools/ifdtool -w \
|
||||
$(CONFIG_X86_OPTION_ROM_ADDR):$(srctree)/board/$(BOARDDIR)/$(CONFIG_X86_OPTION_ROM_FILENAME) \
|
||||
u-boot.tmp
|
||||
mv u-boot.tmp $@
|
||||
|
||||
OBJCOPYFLAGS_u-boot-x86-16bit.bin := -O binary -j .start16 -j .resetvec
|
||||
|
|
Loading…
Reference in a new issue