summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-10-16 18:08:38 +0000
committerBin Meng <bmeng.cn@gmail.com>2017-10-19 11:37:51 +0800
commit871aa41d4c9ecf8d89b98491dc86d0097fdf80e5 (patch)
tree71eb3816b2faf5eb7e5cdcb46418d8071fb25062 /Kconfig
parent83262f99cd3619336b0d48257bc6595b7610a134 (diff)
x86: provide CONFIG_BUILD_ROM
Up to now we depended on an exported variable to build u-boot.rom. We should be able to specify it in the configuration file, too. With this patch this becomes possible using the new Kconfig option CONFIG_BUILD_ROM. This option depends on CONFIG_X86 and is selected in qemu-x86_defconfig and qemu-x86_64_defconfig. Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 73f820a6de..227fb17dd9 100644
--- a/Kconfig
+++ b/Kconfig
@@ -158,6 +158,15 @@ config PHYS_64BIT
This can be used not only for 64bit SoCs, but also for
large physical address extention on 32bit SoCs.
+config BUILD_ROM
+ bool "Build U-Boot as BIOS replacement"
+ depends on X86
+ help
+ This option allows to build a ROM version of U-Boot.
+ The build process generally requires several binary blobs
+ which are not shipped in the U-Boot source tree.
+ Please, see doc/README.x86 for details.
+
endmenu # General setup
menu "Boot images"