|author||Simon Glass <firstname.lastname@example.org>||2015-01-27 22:13:32 -0700|
|committer||Simon Glass <email@example.com>||2015-02-05 22:16:43 -0700|
x86: Add an option to enabling building a ROM file
Rather than requiring the Makefile to be modified, provide a build option to enable the ROM to be built. We cannot do this by default since it requires binary blobs. Without these the build will fail. Signed-off-by: Simon Glass <firstname.lastname@example.org> Reviewed-by: Bin Meng <email@example.com>
Diffstat (limited to 'doc')
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/README.x86 b/doc/README.x86
index 7df8cc516a..ddfd75e1cd 100644
@@ -51,9 +51,11 @@ Building ROM version of U-Boot (hereafter referred to as u-boot.rom) is a
little bit tricky, as generally it requires several binary blobs which are not
shipped in the U-Boot source tree. Due to this reason, the u-boot.rom build is
not turned on by default in the U-Boot source tree. Firstly, you need turn it
-on by uncommenting the following line in the main U-Boot Makefile:
+on by enabling the ROM build:
-# ALL-$(CONFIG_X86_RESET_VECTOR) += u-boot.rom
+$ export BUILD_ROM=y
+This tells the Makefile to build u-boot.rom as a target.
@@ -126,11 +128,11 @@ Make sure 0x1110000 matches CONFIG_SYS_TEXT_BASE and 0x1110015 matches the
symbol address of _start (in arch/x86/cpu/start.S).
If you want to use ELF as the coreboot payload, change U-Boot configuration to
+use CONFIG_OF_EMBED instead of CONFIG_OF_SEPARATE.
-Modern CPU usually requires a special bit stream called microcode  to be
+Modern CPUs usually require a special bit stream called microcode  to be
loaded on the processor after power up in order to function properly. U-Boot
has already integrated these as hex dumps in the source tree.